Package: tidy
Version: 20081224cvs-1
Severity: normal

I have an XHTML file I am playing with, that has the following 2 lines:
            <div id="page" class="                ">
        <div class="sic">
These 2 <div>s are getting folded into a single <div> as (this is default 
behavior?):
  <div class="sic" id="page" class="               ">
As the default behavior of tidy for repeated-attributes is supposed to be
keep-last, I was expecting to see:
  <div id="page" class="            ">
But the repeated class attribute is a problem for XML parsing, which is how
I noticed this.  No, I don't know why someone has a long string of whitespace
as a class.

Oh, there is supposed to be the same number of spaces in that class every time, 
I
didn't take the time to count.

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

Kernel: Linux 2.6.26 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tidy depends on:
ii  libc6                      2.9-12        GNU C Library: Shared libraries
ii  libtidy-0.99-0             20081224cvs-1 HTML syntax checker and reformatte

tidy recommends no packages.

Versions of packages tidy suggests:
ii  tidy-doc                   20081224cvs-1 HTML syntax checker and reformatte

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to