RTE links rendering a potentially dangerous request link
Hi all,
I'm looping though some nodes/content blocks and rendering the content that has been entered in the rich text editor onto the page but when the content appears on the page all of the links are formatted like this:
<a data-udi="umb://document/eecf6327430a43cc9344a737f27c779f" href="/{localLink:umb://document/eecf6327430a43cc9344a737f27c779f}" title="Become a Member" class="btn btn-primary">my link</a>
Which obviously isn't a valid link has anyone seen this behaviour before and any suggestions on a cure?
RTE links rendering a potentially dangerous request link
Hi all,
I'm looping though some nodes/content blocks and rendering the content that has been entered in the rich text editor onto the page but when the content appears on the page all of the links are formatted like this:
Which obviously isn't a valid link has anyone seen this behaviour before and any suggestions on a cure?
Thanks, C
Hi Craig
That does indeed look at bit odd - What does your code for rendering the rich text editor look like? And what exact version of Umbraco are you using?
/Jan
Hi Jan,
The content is being loaded using the Archtype datatype property:
Which is then being looped through on the partial page:
Thanks, Craig
Hi Craig
Try this code:
Alex
Legend!
is working on a reply...