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

Checkbox label: check if we can strip out block-level elements #80

Open
sergei-maertens opened this issue Mar 11, 2025 · 0 comments
Open

Comments

@sergei-maertens
Copy link
Member

We have an existing bugs where the required asterisks can get pushed to the next line because the label of a checkbox is taken from some WYSWYG editor, leading to <p> element(s).

This is invalid markup - <label> is inline and may not contain block level elements. The WYSIWYG editors can apparently not be configured to not allow this either. Perhaps we can load the HTML and remove/replace the block level outer tags with linebreaks?

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

1 participant