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

HTML5 void tag App::getTag() aware handling #1884

Merged
merged 12 commits into from
Oct 5, 2022
Merged

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Oct 5, 2022

https://developer.mozilla.org/en-US/docs/Glossary/Void_element

regex:

(?<=<|</)(?<=/|(?=[^<>]+/>))(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)

@mvorisek mvorisek changed the title Fix self closing tags for xhtml compatibility Do not render self-closing slash for HTML5 Oct 5, 2022
@mvorisek mvorisek changed the title Do not render self-closing slash for HTML5 Fix self-closing slash for HTML5 Oct 5, 2022
@mvorisek mvorisek changed the title Fix self-closing slash for HTML5 Fix self-closing tags for HTML5 Oct 5, 2022
@mvorisek mvorisek changed the title Fix self-closing tags for HTML5 HTML5 void tag App::getTag() aware handling Oct 5, 2022
@mvorisek mvorisek force-pushed the fix_xhtml_self_closing branch 2 times, most recently from 844b4ef to af2f217 Compare October 5, 2022 19:57
@mvorisek mvorisek merged commit 001b4de into develop Oct 5, 2022
@mvorisek mvorisek deleted the fix_xhtml_self_closing branch October 5, 2022 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant