Re: feature: traling space in a node

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 -
https://github.com/htacg/tidy-html5/issues

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
you...

Hope this helps...

Regards,
Geoff.

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