[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: <pre> formatted text in khtml
From: Lars Knoll <Lars.Knoll () mpi-hd ! mpg ! de>
Date: 2000-05-20 16:14:12
[Download RAW message or body]
> <pre> formatted text seems to be broken in some cases in khtml. The
most
> glaring example is <pre> formatted directory listings produced by
> apache. An example:
>
> http://people.redhat.com/pbrown/
>
> shows separate lines in netscape, and one long line in konqueror.
Well, apache is too stupid to produce valid html. <hr> is not allowed
inside <pre>, so khtml closes the <pre> element, and puts the html code
after the <hr> in a seperate paragraph. khtml is already allowing much
more inside <pre> than the html specs to not break too many pages. Hmmm,
I'll see if I can get a <hr> inside <pre> working. But the better
solution would be to tell the apache guys to fix their html. At least a
web server should produce valid HTML code.
Lars
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic