AEM 5.6 : RTE Customization : Semantic markup map is not working to map <b> to <strong> | Community
Skip to main content
chaitanya_pai1
Level 2
October 16, 2015
Solved

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

  • October 16, 2015
  • 1 reply
  • 1339 views

 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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
February 16, 2021

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