RTE appends .html to links on Content Fragment. what should I do to remove .html from link?
When using relative links, .html is added to the link when setting the link in a content fragment. What should I do to resolve it?
When using relative links, .html is added to the link when setting the link in a content fragment. What should I do to resolve it?
Hello @zeeltr1,
Can you pls explain which field are you adding to store relative links? I tested by adding "Content Reference" field and selected an internal page and I didn't see any .html in the JSON output. Please see the blow:
"content": {
"variationsOrder": [],
"translatable": false,
":type": "string",
"variations": {},
"dataType": "string",
"title": "Field Label",
"multiValue": false,
"value": "/content/wknd/us/en"
}
You can quickly verify the output by using AEM's asset API and excluding /content/dam from the path.
http://localhost:<port>/api/assets/<path-to-content-fragment>.json
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.