Bug #80475
closed
CSS classes in links are stripped in frontend
Added by Chris no-lastname-given over 7 years ago.
Updated over 7 years ago.
Description
In TYPO3 8.6.1 all CSS classes in links will be stripped in the frontend.
This
<a href="t3://file?uid=55" class="download">file</a>
will result in that
<a href="/fileadmin/myfile.pdf">file</a>
- Status changed from New to Needs Feedback
Hello. Could you give us more information about how to reproduce your issue? What steps did you follow? Thank you!
I am inserting a content element "Text & Media" (fsc) and add text to the field "Text" in tab "General". After that I mark a word in the textarea and click on the link button. In the link window I choose a CSS class in field "Style" and select a page or whatever. This inserts the following code:
<a href="t3://page?uid=2" class="external-link">Link</a>
Now viewing the "normal" website the link shows up as:
<a href="/link/">Link</a>
So the CSS class is removed.
Interesting part is, that the same happens, even when I uninstall the RTE (rtehtmlarea). In the frontend the class does not show up.
I tried with the latest master and RTE, and I was not able to reproduce the problem...
@Chris could you try with the latest master? Or try the patch attached to #79896 ?
I can confirm, that this issue is gone with the latest master and everything works like it it supposed to.
This ticket can be closed.
- Status changed from Needs Feedback to Closed
thank you for your quick answer. Closed.
Also available in: Atom
PDF