Section links coming from RTE broken in FE: rendered as #14185& instead of #c123
If you enter a link to a specific CE via RTE the href-attribute points to a nonexisting id. Instead of #c123 you get #14185& in FE.
When you first enter the link in RTE, the href looks like this:
<a class="internal-link" href="http://gift.uni-erfurt.t3/?id=512#14185&">
In DB the link looks like this:
<link 512#14185& - internal-link>
(issue imported from #M12682)
#3 Updated by Stanislas Rolland about 10 years ago
1. There is a superfluous ampersand coming from the RTE (when the query parameters field is enabled but contains no value).
2. Links that have both a section and additional parameters are not correctly inserted in the RTE and therefore are not correctly transformed on the way to the database.
3. Such links that have both a section and additional parameters are not correctly transformed on the way to the RTE.
4. Finally, whether they come from the RTE or not, typolinks that have both a section and additional parameters are not correctly rendered on the frontend.
Please test attached patch.