Skip to content
loading...

re: How to normalize (join together) bold nodes in HTML DOM? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Would be good to do this in a regex that also looks for whitespace between the two tags.
 

I thought about that as well, but then you'd change the content (if only ever so slightly) for a trivial QoL improvement

If you use a capture group, you could put every bit of whitepace back.

code of conduct - report abuse