Template Link

Topics: Core, General
Oct 13, 2015 at 6:54 PM
When I try to implement bootstrap at my link over Orchard templates, I lose the data- attributes.

<link title="title" class="my-class" data-toogle="abc" data-target="abc" />

Basically Orchard converts it to <a href but doesnt keep my data- attributes.
How can I fix that ?

Thx
Developer
Oct 13, 2015 at 7:12 PM
I don't think Orchard replaces <link> elements with <a> elements. Can you explain in which file you're doing this exactly? Are you perhaps using an HTML editor such as TinyMCE?