Expand my Community achievements bar.

SOLVED

AEM 5.6 : RTE Customization : Semantic markup map is not working to map <b> to <strong>

Avatar

Level 2

 Hi,

We have a requirement to ensure that <b> are converted to <strong> and <i> are converted to <em> in RTE. I followed the instructions in the post : http://stackoverflow.com/questions/17946117/strong-tag-getting-replaced-to-b-tag-in-cq5  and added the nodes as specified. I added the property "b" with value "strong" and property "i" with value "em" to the semanticMarkupMap node. However, I still see <b> on bold text and <i> on Italicized text in RTE.  Has the functionality been changed in AEM 5.6? Is there any more information / documentation available on semanticMarkupMap anywhere? 

I tried adding property "strong" with value "b". After this, The bold text gets wrapped by <b> initially. but on opening source edit, <b> changes to <strong>, On disabling and enabling source edit, it changes back to <b>. It continues to  alternate between strong and b tags.

 

Thanks,

Chaitanya

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor

Adding a comment just in case if someone land here
check http://www.sgaemsolutions.com/2019/10/accessibility-in-aem-bold-vs-strong-and.html



Arun Patidar