W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2003

Re: Problem with <em>, <sup> and <sub>

From: Subbakrishna <subbumv@excelindia.com>
Date: Mon, 07 Jul 2003 11:13:24 +0530
Message-ID: <3F09087C.5E36D43A@excelindia.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: html-tidy@w3.org

Tidy options:

"--tidy-mark no --markup yes --wrap 0 --wrap-attributes no
--wrap-script-literals no

--wrap-asp no --wrap-jste no --wrap-php no --literal-attributes no --tab-size 4
--indent no

--indent-spaces 2 --indent-attributes no --hide-endtags no --input-xml no
--output-xml yes

--add-xml-pi no --add-xml-decl no --doctype omit --char-encoding ascii
--quote-marks no

--quote-nbsp yes --quote-ampersand yes --assume-xml-procins no --fix-backslash
yes --add-xml-pi

no --add-xml-decl no --doctype omit --char-encoding ascii --quote-marks no
--quote-nbsp yes

--quote-ampersand yes --assume-xml-procins no --fix-backslash yes
--break-before-br no

--uppercase-tags no --uppercase-attributes no --word-2000 no  --clean yes
--logical-emphasis yes

--drop-empty-paras no --drop-font-tags yes --enclose-text yes
--enclose-block-text no

--fix-bad-comments no --add-xml-space no --write-back no --show-warnings no
--quiet no

--gnu-emacs no --split no --numeric-entities yes -m --new-empty-tags param
--new-blocklevel-tags

param --new-inline-tags

content,customcontrol,parameterlist,dependencies,file,controlid,componentname,functionname,parame

ter,item,interaction,cbi-select"

Thanks

Bjoern Hoehrmann wrote:

> * Subbakrishna wrote:
> >> ><td>
> >> >In the equation 2<sup><em>x</em></sup> = 8, we can see that x = 3,
> >> >because 2<sup>3</sup> = 8.
> >> ></td>
> >> >
> >> >When I apply tidy(to make it as xml), it becomes like this...
> >> >
> >> ><td>In the equation 2
> >> ><sup>
> >> ><em>x</em>
> >> ></sup> = 8, we can see that x = 3, because 2
> >> ><sup>3</sup> = 8.</td>
> >>
> >> I am unable to reproduce this. What version of HTML Tidy do you use and
> >> what are your config options?
>
> >I am using "HTML Tidy for Windows released on 1st February 2003". The same
> >problem persists in Tidy for windows released on 27th Feb 2003.
>
> Your config options?
Received on Monday, 7 July 2003 01:46:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC