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

rendering menu_section_pages breakesJSON if content element has linebreak (br/) #441

Open
velletti opened this issue Jun 20, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@velletti
Copy link

velletti commented Jun 20, 2022

the default output of element type : menu_section_pages creates invalid JSON as field bodytext is not rendered same way as lib.contentElementWithHeader.

Reason is a not correct encapsulated

Solution for me was additional typoscript:

tt_content.menu_section_pages.fields.content.fields.menu.dataProcessing.10 { dataProcessing.20.fields.bodytext < tt_content.textmedia.fields.content.fields.bodytext }

@lukaszuznanski lukaszuznanski added the bug Something isn't working label Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants