We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Problem:
field/src/Template/Element/TextField/display.ctp
Surrounds the field with <p> tags then echos out the value of the text field
<p>
<p><?= TextToolbox::formatter($field); ?></p>
When using HTML text it results in invalid HTML due to the <p> tags wrapping around the fields HTML - the resulting HTML formatted like so:
<p><p>Hello World</p></p>
Which most browsers now fix the invalid HTML by auto closing and opening the surrounding tags:
<p></p><p>Hello World</p><p></p>
This results in too much padding around all Text fields when being displayed.
The Solution: Can you remove all <p> tags from this file and let TextToolbox deal with adding any tags needed?
Thanks in advance
The text was updated successfully, but these errors were encountered:
sounds reasonable, i'll take a look :)
Sorry, something went wrong.
fix TextField
1b63038
solves #170
botchris
No branches or pull requests
The Problem:
Surrounds the field with
<p>
tags then echos out the value of the text field<p><?= TextToolbox::formatter($field); ?></p>
When using HTML text it results in invalid HTML due to the
<p>
tags wrapping around the fields HTML - the resulting HTML formatted like so:<p><p>Hello World</p></p>
Which most browsers now fix the invalid HTML by auto closing and opening the surrounding tags:
<p></p><p>Hello World</p><p></p>
This results in too much padding around all Text fields when being displayed.
The Solution:
Can you remove all
<p>
tags from this file and let TextToolbox deal with adding any tags needed?Thanks in advance
The text was updated successfully, but these errors were encountered: