in reply to Re: 2Re: Removing underline tags with regexp (is a good idea)
in thread Removing underline tags with regexp

Have you tried the code posted by merlyn and Matts over at HTML tidy, using XML::LibXML, yet? I have had much success (once i got those modules installed ;)) with this technique.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
  • Comment on 4Re: Removing underline tags with regexp (is a good idea)

Replies are listed 'Best First'.
Re: 4Re: Removing underline tags with regexp (is a good idea)
by Elian (Parson) on Sep 02, 2003 at 14:00 UTC
    That code'll break quite a few web pages, making them render incorrectly (Where "incorrectly" means they don't function any more) and in some cases change the semantics of the page. (Not that you could necessarily intuit the semantics without knowing the various broken ways that each browser interprets the page, but...) There are a depressing number of pages that are intentionally breaking standards because that's the only way to get them to render properly.