feature: traling space in a node
"Markus Ohlenroth" <[email protected]> Fri, 19 Aug 2016 13:24:14 +0200
| Newsgroups | gmane.comp.web.html-tidy.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multipart message in MIME format.
------=_NextPart_000_0061_01D1FA1C.FB1B3E70
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Dear support,
=20
I use tidy online found at=20
https://infohound.net/tidy/tidy.pl
=20
=20
I have trailing space in nodes of a html file, which I would like to
preserve when converting the file to xml
I could not find any hints in the documentation whether this is possible =
or
not.
=20
Could you give me tip where to look. That would be great. Thanks very =
much
in advance and kind regards
Markus Ohlenroth
=20
Example
In the following example the space after =93El=94 is removed in the =
result file
=20
<span lang=3DES style=3D'mso-bidi-font-family:"Times New Roman";
text-transform:uppercase'>El </span>
=20
Tidy=92s transormation:
<span lang=3D"ES"
style=3D'mso-bidi-font-family:"Times New Roman";
text-transform:uppercase'>El</span>
</span>
=20
=20
Mit freundlichen Gr=FC=DFen
Markus Ohlenroth
=20
--
Dr. Markus Ohlenroth
EDV Betreuung PhilSo
Universitaet Augsburg
Universitaetsstr. 10
86159 Augsburg
Tel: 0821/598-5511
=20
------=_NextPart_000_0061_01D1FA1C.FB1B3E70
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1"><meta name=3DGenerator content=3D"Microsoft Word =
14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
..MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DDE link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-US>Dear support,<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>I use tidy online found at =
<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US><a =
href=3D"https://infohound.net/tidy/tidy.pl">https://infohound.net/tidy/ti=
dy.pl</a><o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>I have trailing space in nodes of a html file, which I =
would like to preserve when converting the file to =
xml<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>I could =
not find any hints in the documentation whether this is possible or =
not.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Could you give me tip where to look. That would be great. =
Thanks very much in advance and kind regards<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>Markus =
Ohlenroth<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Example<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>In the following example the space after “El” =
is removed in the result file<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'background:white;mso-highlight:white'><span lang=3DES =
style=3D'mso-bidi-font-family:"Times New =
Roman";<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'background:white;mso-highlight:white'>text-transform:uppercase'&=
gt;El </span></span><o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Tidy’s =
transormation:<o:p></o:p></p><p class=3DMsoNormal><span =
lang=3D"ES"<o:p></o:p></p><p =
class=3DMsoNormal>style=3D'mso-bidi-font-family:"Times New =
Roman"; =
text-transform:uppercase'>El</span><o:p></o:p></p><p =
class=3DMsoNormal></span><o:p></o:p></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Mit =
freundlichen Gr=FC=DFen<o:p></o:p></p><p class=3DMsoNormal>Markus =
Ohlenroth<o:p></o:p></p><p class=3DMsoNormal> <o:p></o:p></p><p =
class=3DMsoNormal>--<o:p></o:p></p><p class=3DMsoNormal>Dr. Markus =
Ohlenroth<o:p></o:p></p><p class=3DMsoNormal>EDV Betreuung =
PhilSo<o:p></o:p></p><p class=3DMsoNormal>Universitaet =
Augsburg<o:p></o:p></p><p class=3DMsoNormal>Universitaetsstr. =
10<o:p></o:p></p><p class=3DMsoNormal>86159 Augsburg<o:p></o:p></p><p =
class=3DMsoNormal>Tel: 0821/598-5511<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p></div></body></html>
------=_NextPart_000_0061_01D1FA1C.FB1B3E70--