HTML5 and Full HTML Filter I have the following markup:

&lt;figure&gt;
&lt;img src="file.jpg"&gt;
&lt;figcaption&gt;
&lt;h3&gt;The Father&lt;/h3&gt;
&lt;p&gt;Born in 1972, a fisherman by trade&lt;/p&gt;
&lt;/figcapion&gt;
&lt;/figure&gt;


With the Full HTML filter:


The "add line breaks" option adds in lots of superfluous &lt;br&gt;'s
The "correct faulty HTML" means that adding &lt;p&gt; and &lt;h3&gt; sees the caption get chucked outside of the  mangling the layout


The thing is, I like automatic line breaks and I like faulty HTML being corrected, and I don't want my content creators to have to think which filter to use, or have to add in paragraph tags because they decide to use a &lt;figcaption&gt; tag.

Is there any module/option that can make these parts of the Full HTML filter work nicely with HTML5?
I just came across the same issue, and although this is a rather old question I thought I'd give my solution in case any others find their way here.

Text formats have the option to correct 'faulty' HTML, although it's not the best choice if you'd still like to make sure that actual faulty HTML is corrected, you can turn this off by navigating to:

HOME &gt; ADMINISTRATION &gt; CONFIGURATION CONTENT AUTHORING &gt; TEXT FORMATS &gt; %your format%


Deselect 'Correct faulty and chopped off HTML' and Drupal will stop mangling section, article, figure, and other useful HTML5 tags.