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

#450: updated HTML tag matching Regexp in CustomBladeCompiler.php #451

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

majortom731
Copy link
Contributor

updated the HTML tag Regexp to allow > in the attributes if they are enclosed in single or double quotes.

Instead of allowing [^>]* between tag name and closing >, we allow anything enclosed single/double quotes (→ attribute values), or other stuff that is neither quotes nor >.

The Regexp is explained here: https://www.data2type.de/xml-xslt-xslfo/regulaere-ausdruecke/regex-methoden-aus-der-praxis/beispiele-zu-html/html-tags-erkennen

@pascalbaljet pascalbaljet merged commit d23d97f into protonemedia:main Mar 20, 2024
44 checks passed
@pascalbaljet
Copy link
Contributor

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants