added html5 figure tag wrapping