Hi
I added some snippets containing HTML5 elements, such as a quote:
These were wrapped in CDATA tags but when used in the editor, all I got in the source code was
I then wrapped my snippet in
So, should snippets always be wrapped in <div> tags, or this only necessary for those containing HTML5 tags?
Thanks
I added some snippets containing HTML5 elements, such as a quote:
<
figure
>
<
blockquote
>Inset quote</
blockquote
>
<
figcaption
>Insert source</
figcaption
>
<
/figure
>
These were wrapped in CDATA tags but when used in the editor, all I got in the source code was
<div></div>
.I then wrapped my snippet in
<div>
tags and got the expected result.So, should snippets always be wrapped in <div> tags, or this only necessary for those containing HTML5 tags?
Thanks