Tidy options

Tom Rhodes trhodes at FreeBSD.org
Thu Sep 4 16:24:06 UTC 2003


On Thu, 4 Sep 2003 01:00:37 +0200
"Simon L. Nielsen" <simon at freebsd.org> wrote:

> Hello
> 
> In the DocBook documentation with HTML output when using a package
> reference preceded by a character (with no space in between) there are
> often inserted spaces which looks odd.  E.g from
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/video-playback.html
> 
> 	... codec with MPEG3 audio encoding (  audio/lame is required):
> 
> The HTML that gives this problem is:
> 
>             the MPEG4 codec with MPEG3 audio encoding (<a
>             href="http://www.FreeBSD.org/cgi/url.cgi?ports/audio/lame/pkg-descr">
>             <tt class="FILENAME">audio/lame</tt></a> is
> 
> The problem is that Tidy is a bit too agressive when trying to make the
> HTML look nice, so it inserts newline where it really shouldn't, since
> it tries to keep the lines at max 68 characters (the Tidy default
> default).

I'm going to go along with Ceri for a few minutes.  IMHO, if the link
works then we should just let it go without applying a 'band-aid'.

-- 
Tom Rhodes



More information about the freebsd-doc mailing list