Bug #80475
closedCSS classes in links are stripped in frontend
0%
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>
Updated by Riccardo De Contardi over 7 years ago
- 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!
Updated by Chris no-lastname-given over 7 years ago
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.
Updated by Riccardo De Contardi over 7 years ago
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 ?
Updated by Chris no-lastname-given over 7 years ago
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.
Updated by Riccardo De Contardi over 7 years ago
- Status changed from Needs Feedback to Closed
thank you for your quick answer. Closed.