[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#639292: lintian: --color=html does not close '<p>' - breaks xhtml (lintian.d.o)



Niels Thykier <niels@thykier.net> writes:

> I agree, but I think we need someone to mess with the .css file then.
> The resulting source is:

> """
>     <p>To fix this problem, look for link lines like:</p>

>     <pre>
>         gcc test.o -o test -Wl,--rpath,/usr/local/lib
>     </pre> <p>or</p>

>     <pre>
>         gcc test.o -o test -R/usr/local/lib
>     </pre> <p>and remove the <tt>-Wl,--rpath</tt> or [...]</p>
> """

> I see nothing here in the html that "adds" unneeded line breaks.  On a
> related note; I am not good with .css.

IIRC, you'll find that killing the line breaks inside the <pre> will
help.  In other words, you want:

    <pre>   gcc test.o -o test -Wl,--rpath,/usr/local/lib</pre>

instead.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: