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
Content Element HTML - change quotes after saving #3575
Comments
I would guess that this is a problem in the textarea output. We have to enable double encoding there so that |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Tried today to find a fix for this but didn’t succeed 😕 Such problems no longer occur with the restructured input encoding in Contao 5.0, but I don’t know how we can fix this in 4.9 or 4.13. |
Guess it is a known limitation then. |
Affected version(s)
Contao 4.9.21, Contao 4.12.2
I didn't test other versions
Content Element HTML:
<source src="files/layout/video/css/my_265.mp4" type='video/mp4; codecs="avc1"'>
after saving the element it changes to:
<source src="files/layout/video/css/my_265.mp4" type="video/mp4; codecs="avc1"">
and notes error: Unexpected character after attribute value. Invalid character in attribute name
chanching the quotes and single quotes in their position it will work
<source src="files/layout/video/css/my_265.mp4" type="video/mp4; codecs='avc1'">
The text was updated successfully, but these errors were encountered: