W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2003

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

From: Subbakrishna <subbumv@excelindia.com>
Date: Mon, 23 Jun 2003 14:40:12 +0530
Message-ID: <3EF6C3F4.EAE8E8EC@excelindia.com>
To: html-tidy@w3.org


I have a question on Tidy usage. Hope this is the forum to ask these
type of questions. If this is not the one, please let me know where else
I can post it.


I have content like this...

In the equation 2<sup><em>x</em></sup> = 8, we can see that x = 3,
because 2<sup>3</sup> = 8.

When I apply tidy(to make it as xml), it becomes like this...

<td>In the equation 2
</sup> = 8, we can see that x = 3, because 2
<sup>3</sup> = 8.</td>

The problem is <sup> and <em> are pushed into new line. This induces a
space to appear between "2" and "x".

My question is, how do we force tidy to retain the original line
sequence but with converting html into xml?

Thanks in advance
Received on Monday, 23 June 2003 05:13:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:06:49 UTC