-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
Using "external links" for anchors is currently the only way to manually create a TOC. When using the method info.magnolia.templating.functions.TemplatingFunctions#externalLink(javax.jcr.Node, java.lang.String) when only providing an anchor #anchor the link is prepended with http:// resulting in a broken link http://#anchor. Anchors should not be prepended with http://. Links should also be escaped.
Also the link should be escaped to prevent injection attack.
Acceptance criteria
- is depended upon by
-
MTE-8 Link and LinkList components for Basic Templating Kit
- Closed