Posted by Ian on 12/09/05 22:30
Erwin Moller wrote:
> You could also get yourself in trouble (with regexpr. or substringsearching,
> etc) when trying to replace some pieces in the HTML when the HTML is not
> coded as it 'should' be: Think about missing end-tags and the like.
> Browsers are very forgiving, but the programmers of the browsers had
> headaches before their program was forgiving enough. :-)
>
> But maybe you can get away with just replacing stuff you understand, and let
> the remainding HTML as it was. Then the browser can display it the way it
> was ment. (probably).
>
HTML tidy is your friend here. It has saved me from many a nasty
frontpage generate HTML page :)
Ian
[Back to original message]
|