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