--===============0560503143== Content-Type: multipart/alternative; boundary="----=_Part_4827_21348108.1127362883051" ------=_Part_4827_21348108.1127362883051 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/21/05, Kevin Brammer wrote: > > I noticed with Quanta if you click on "list item" it automatically > inserts a closing "". While I agree that it makes logical sense > to close it, the HTML spec says it's optional and Tidy complains when > it finds them. Is there a different way this should be done? Can I > tell Tidy to stop complaining about it? :) Tidy shouldn't complain if you use the XHTML mode, but that might open up all kinds of other warnings/errors if your document isn't XHTML. What (if any) DTD exists in the doc? If you are using old HTML and you can afford th= e effort, you should be using XHTML. Tools like Tidy make it easy. For reference, here is an old Tidy.conf that I used (notice it was to work with html output), with the full reference and documentation online at http://tidy.sourceforge.net/docs/quickref.html // Name Current Value // =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D indent-spaces: 2 wrap: 0 tab-size: 2 char-encoding: latin1 input-encoding: latin1 output-encoding: latin1 newline: LF doctype: auto repeated-attributes: keep-last alt-text: * error-file: tidy.out.err output-file: tidy.out write-back: no markup: yes show-warnings: yes quiet: no indent: auto hide-endtags: no input-xml: no output-xml: no output-xhtml: no output-html: yes add-xml-decl: no uppercase-tags: no uppercase-attributes: no bare: no clean: yes logical-emphasis: no drop-proprietary-attributes: yes drop-font-tags: no drop-empty-paras: yes fix-bad-comments: yes break-before-br: yes split: no numeric-entities: no quote-marks: no quote-nbsp: yes quote-ampersand: yes wrap-attributes: no wrap-script-literals: no wrap-sections: yes wrap-asp: yes wrap-jste: yes wrap-php: yes fix-backslash: yes indent-attributes: no assume-xml-procins: no add-xml-space: yes enclose-text: no enclose-block-text: no keep-time: no word-2000: no tidy-mark: yes gnu-emacs: no literal-attributes: yes show-body-only: no fix-uri: no lower-literals: yes hide-comments: no indent-cdata: no force-output: yes show-errors: 6 ascii-chars: yes join-classes: no join-styles: yes escape-cdata: no language: EN ncr: yes output-bom: auto replace-color: no css-prefix: Name accessibility-check: 1 vertical-space: no punctuation-wrap: no ------=_Part_4827_21348108.1127362883051 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/21/05, Kevin Brammer <kevlinux@gmail.com> wrote:
I noticed with Quanta if you click on "list item" it automaticall= y
inserts a closing "</li>".  While I agree th= at it makes logical sense
to close it, the HTML spec says it's optional = and Tidy complains when
it finds them.  Is there a different way this should be done?=   Can I
tell Tidy to stop complaining about it?  :)<= /blockquote>

Tidy shouldn't complain if you use the XHTML mode, but that might open up all kinds of other warnings/errors if your document isn't XHTML.  What (if any) DTD exists in the doc?  If you are using old HTML and you can afford the effort, you should be using XHTML.  Tools like Tidy make it easy.

For reference, here is an old Tidy.conf that I used (notice it was to work with html output), with the full reference and documentation online at http:/= /tidy.sourceforge.net/docs/quickref.html


// Name&nbs= p;            &= nbsp;    Current Value
// =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D  =3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
indent-spaces: &nb= sp;          2
wrap:   =             &nb= sp;     0
tab-size:  &n= bsp;            = ;  2
char-encoding: &nb= sp;          latin1
input-encoding: &n= bsp;         latin1
output-encoding: &= nbsp;        latin1
newline:  &nb= sp;            =    LF
doctype:  &nb= sp;            =    auto
repeated-attributes:&nb= sp;     keep-last
alt-text:  &n= bsp;            = ;  *
error-file:  =              ti= dy.out.err
output-file:  = ;            tidy.ou= t
write-back:  =              no=
markup:  &nbs= p;            &= nbsp;   yes
show-warnings: &nb= sp;          yes
quiet:   = ;            &n= bsp;    no
indent:  &nbs= p;            &= nbsp;   auto
hide-endtags: &nbs= p;           no input-xml:  &= nbsp;           &nbs= p; no
output-xml:  =              no=
output-xhtml: &nbs= p;           no output-html:  = ;            yes
add-xml-decl: &nbs= p;           no uppercase-tags: &n= bsp;         no
uppercase-attributes:&n= bsp;    no
bare:   =             &nb= sp;     no
clean:   = ;            &n= bsp;    yes
logical-emphasis: =         no
drop-proprietary-attrib= utes: yes
drop-font-tags: &n= bsp;         no
drop-empty-paras: =         yes
fix-bad-comments: =         yes
break-before-br: &= nbsp;        yes
split:   = ;            &n= bsp;    no
numeric-entities: =         no
quote-marks:  = ;            no
quote-nbsp:  =              ye= s
quote-ampersand: &= nbsp;        yes
wrap-attributes: &= nbsp;        no
wrap-script-literals:&n= bsp;    no
wrap-sections: &nb= sp;          yes
wrap-asp:  &n= bsp;            = ;  yes
wrap-jste:  &= nbsp;           &nbs= p; yes
wrap-php:  &n= bsp;            = ;  yes
fix-backslash: &nb= sp;          yes
indent-attributes: = ;       no
assume-xml-procins:&nbs= p;      no
add-xml-space: &nb= sp;          yes
enclose-text: &nbs= p;           no enclose-block-text:&nbs= p;      no
keep-time:  &= nbsp;           &nbs= p; no
word-2000:  &= nbsp;           &nbs= p; no
tidy-mark:  &= nbsp;           &nbs= p; yes
gnu-emacs:  &= nbsp;           &nbs= p; no
literal-attributes:&nbs= p;      yes
show-body-only: &n= bsp;         no
fix-uri:  &nb= sp;            =    no
lower-literals: &n= bsp;         yes
hide-comments: &nb= sp;          no
indent-cdata: &nbs= p;           no force-output: &nbs= p;           yes show-errors:  = ;            6
ascii-chars:  = ;            yes
join-classes: &nbs= p;           no join-styles:  = ;            yes
escape-cdata: &nbs= p;           no language:  &n= bsp;            = ;  EN
ncr:   &= nbsp;           &nbs= p;      yes
output-bom:  =              au= to
replace-color: &nb= sp;          no
css-prefix:  =              Na= me
accessibility-check:&nb= sp;     1
vertical-space: &n= bsp;         no
punctuation-wrap: =         no

------=_Part_4827_21348108.1127362883051-- --===============0560503143== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ Quanta mailing list Quanta@mail.kde.org https://mail.kde.org/mailman/listinfo/quanta --===============0560503143==--