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

Re: feature: traling space in a node

From: Geoff McLane <ubuntu@geoffair.info>
Date: Fri, 19 Aug 2016 19:25:21 +0200
To: html-tidy@w3.org
Message-ID: <8983a236-915b-bac3-e5cc-37044fa8a933@geoffair.info>
Hi Markus,

Thank you for your 'feature' inquiry concerning
a trailing space...

IIRC, this has come up several times in the past,
or something like it, but the answer remains the
same, I think...

Tidy has no option to preserve such a trailing
space... it **will** remove it...

You could file a **Feature Request** issue on -

But you would face a question of the use case...

Why do you need this space preserved? What purpose?
What is gained? etc...

And note if you input -

<span lang=ES>El </span><span class="abc">CID</span>

Current Tidy will preserve the space, in a way, by
outputting -

<span lang=ES>El</span> <span class="abc">CID</span>

I note that online site - https://infohound.net/tidy/tidy.pl
is running a very old version of 'Tidy', circa 2009,
and has old sourceforge site links here and there...

If you use the site often, maybe you could send some
feedback to Jonathan Hedley, advising that the tidy site
has moved to http://www.html-tidy.org/, and sources to
GitHub - https://github.com/htacg/tidy-html5...

But this trailing space case would be the same in the
latest Tidy, `master` 5.3.9, so would be no gain for

Hope this helps...

Received on Friday, 19 August 2016 17:25:52 UTC

This archive was generated by hypermail 2.3.1 : Friday, 19 August 2016 17:25:56 UTC