Package: tidy
Version: 20051018-1
Severity: normal

<pre><code>foo
</code></pre>
<p>new paragraph</p>

The above is displayed in gecko-based browsers (and in w3m) as "foo",
followed by a single newline, followed by the new paragraph. If I feed
it through tidy, it reformats the pre:

<pre>
<code>foo</code>
</pre>
<p>new paragraph</p>

This is displayed slightly differently, now there are two newlines
shown.

So I think tidy shouldn't do that.

Note that this nested <pre><code> is typically output by markdown. For
example:

[EMAIL PROTECTED]:~>printf "\tfoo\nnew paragraph" | markdown 
<pre><code>foo
</code></pre>

<p>new paragraph</p>

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tidy depends on:
ii  libc6                         2.7-5      GNU C Library: Shared libraries
ii  libtidy-0.99-0                20051018-1 HTML syntax checker and reformatte

tidy recommends no packages.

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to