RichText <span> tag closing prematurely
Hello,
Could someone direct me? My RichText have properties like these:
<tab2 jcr:primaryType="cq:Panel" title="Text">
<items jcr:primaryType="cq:WidgetCollection">
<richtext jcr:primaryType="cq:Widget" fieldLabel="Rich Text" name="./text" xtype="richtext">
<rtePlugins jcr:primaryType="nt:unstructured">
<misctools jcr:primaryType="nt:unstructured" features="*"/>
</rtePlugins>
<htmlRules jcr:primaryType="nt:unstructured">
<serializer jcr:primaryType="nt:unstructured">
<config jcr:primaryType="nt:unstructured" idAttribMode="keep"/>
</serializer>
</htmlRules>
</richtext>
</items>
</tab2>
What I enter: <p>some content</p> <span id="myId"><p>here I am</p></span>
CQ convert it to: <p>some content</p> <p><span id="myId"> </span></p> <p>here I am</p>
I tried adding 'removeSingleParagraphContainter' property and that kept the closing </span> tag in place if there were no <p> tags above or below my <span> </span> set. Unfortunately I need the <p> tags outside the <span> set.
When I change <span..> to <div..> it kept the closing tag in place. How do I apply the <div> feature to my <span> tag?
Thanks,
Emily