3 ms·
I would rather use a robust battle-tested parser and handle that edge case separately than to create regex for all of xhtml, copied off an opinionated blog, as
by crispyambulance 5y ago
I would rather use a robust battle-tested parser and handle that edge case separately than to create regex for all of xhtml, copied off an opinionated blog, as a "hail-mary".
- goto11 5y agoBut the question is specifically about that edge case! So how to handle it, if the "robust battle-tested parser" is of no help?