View Single Post
Old 09-14-2010, 11:50 AM   #20
tonyx3
Connoisseur
tonyx3 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Jan 2010
Device: Nexus One
[QUOTE=kovidgoyal;1109321]No, you can't just insert random tags into XHTML and have it still be valid. A regex can match anything at all. It could match a fragment something like:

Code:
<span class="ONE">Bad, bad bad<a>
Ok, that's true.

The potential to completely mess up the file would be there, for sure.


What suggestion would you give for working on my original example, without using a third format and manually editing it?

Or is there no way at all?
tonyx3 is offline   Reply With Quote