Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links in fields still remain typolinks #28

Open
juliasaurin opened this issue May 31, 2023 · 1 comment
Open

Links in fields still remain typolinks #28

juliasaurin opened this issue May 31, 2023 · 1 comment

Comments

@juliasaurin
Copy link

juliasaurin commented May 31, 2023

Hello,

If i add a link to my e.g. checkbox, the link will be also a typolink in frontend.
I add following code into my checkbox-option:

Ich habe die < a href="t3://page?uid=46">Datenschutzerklärung< /a> gelesen.|ja

How can i cast this to a propper link?

@kitzberger
Copy link
Contributor

@juliasaurin, just had a look into this issue here.

Problem is that the partial to render a headless checkbox isn't using the vh:string.escapeLabels viewhelper that EXT:powermail's version of that partial is doing.

Try this here in Check.html

- label: setting.label,
+ label: '{setting.label -> vh:string.escapeLabels()},

And maybe change the link format from <a href="t3://page?uid=46">Datenschutzerklärung</a> to <f:link.page pageUid="1">privacy accepted</f:link.page> as Alex said in in2code-de/powermail#265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants