I want to append the component URI as an # anchor to the resolved link URL for component links in Rich Text fields. According to the DXA 2.0 Docs, you can get the Model Service to leave the component URI in de xlink:href attribute when resolving the Rich Text field by setting a configuration setting in dxa.properties:
dxa.defaults.rich-text-xmlns-remove=false
I have set this property, and restarted the Model Service, but I still don't see the xlink:href in the JSON returned by the Model Service. Am I missing something?
If I can get this to work, then I can add some logic in my ViewModel to postprocess the links and move the component uri from the xlink:href to the href as an # anchor.