Last active
September 5, 2024 01:50
-
-
Save westonruter/4b1fca6f20fbc95c3c34 to your computer and use it in GitHub Desktop.
Use DOMDocument to do a more robust job at force_balance_tags.
@aristath I just added a couple of (untested) improvements.
The improvements make sense to me.
Tested them with all kinds of weird markup, no issues so far 👍
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
brilliant, thank you 👍