Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix regex to not mix self closing tags #1328
@arian sure, should have done that in the first place, sorry.
This change only applies to cases where
and in cases where
As it was
So the first alternative in the new regex suggestion is for simpler tags (closing or self-closing), and the second alternative is for self-closing, opening, and tags with attributes. This way it will never match a letter after the