Rewriting jcr:content to _jcr_content
I have an attribute within a DIV tag thats needs to be rewritten (<div data-background="/content/abc/en/jcr:content/mainparsys/generic_banner/image.adapt.1663.high.jpg" />). I tried all steps in the below articles but no success.
- http://stackoverflow.com/questions/23673616/how-to-add-additional-element-to-htmlparser-generator
- http://stackoverflow.com/questions/26220078/sling-mapping-rewrite-rules-do-not-rewrite-jcrcontent-paths
- http://helpx.adobe.com/experience-manager/using/creating-link-rewrite.html
Please let me know if there is a way that I can do it. I know that for standard html tags it's done OOTB.
Thank you.
Cheers,
Viren.