Randy McMurchy escribi� en blfs.dev el Viernes, 4 de Marzo de 2005 22:42:

> Hi all,
> 
> I noticed in the LFS book and the HLFS book, there's a patch shown
> that one should install for the HTML Tidy package to render the book
> properly.
> 
> Should this patch be added to the standard instructions in BLFS
> for Tidy? Will it do anything to the format of the html files if
> the patch is *not* expected (as in the BLFS book rendering)?


That patch fix a look issue for verbatim enviroments, that affect some browsers
(like Mozilla), when the pages are served like application/xhtml+xml.

By default, <pre> tags are indented like:

  <pre 
    class="userinput"><kbd class="command">./configure --prefix=/usr</kbd>
  </pre>

The patch drop the line break after <pre> and before </pre>, changing that
indentation to:

  <pre class="userinput"><kbd class=
  "command">./configure --prefix=/usr</kbd></pre>

A version of the patch with the heads con be found here:


http://www.macana-es.com/tidy-041005-fix-pre-tags-for-xhtml-1.patch


-- 
Manuel Canales Esparcia  
Usuario de LFS n� 2886: http://www.linuxfromscratch.org/
LFS en castellano:  http://www.escomposlinux.org/lfs-es  http://www.lfs-es.com
TLDP-ES   http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to