W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2003

Inline tags

From: Jany Quintard <jany.quintard@free.fr>
Date: Wed, 15 Oct 2003 15:48:09 +0200
To: html-tidy@w3.org
Message-ID: <20031015134808.GB27829@figue>

I am having two sort of difficulties with spaces using tidy:

- 1 Tidy breaks lines on inline elements, such as em ; so, if I write
something like:
<p>la mise en forme (<em>formatting</em>)...
I get something like
<p>la mise en forme (
  <em>formatting</em>
)...
which introduces n asty space after "(".

- 2 tidy suppresses a space after span elements
I write (using a generator, hence the breaklines):
It is better to use <span
class="software"
>tidy</span
> to tidy up...

and I get:
It is better to use
  <span class="software">tidy</span>to tidy up

I am using tidy for cygwin released on 1 september 2003
with the config file:

write-back: no
tidy-mark: yes
wrap: 80
indent: auto
indent-spaces: 2
input-xml: yes
output-xhtml: yes
doctype: "-//W3C//DTD XHTML 1.0 Strict//EN"
char-encoding: raw
clean: no
indent-attributes: yes
literal-attributes: yes
quote-ampersand: yes
quote-marks: yes
quote-nbsp: yes
numeric-entities: no
error-file: tidy.err

Jany
Received on Wednesday, 15 October 2003 09:48:18 UTC

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