Example of cleaned HTML code
Below you can see an example of cleaned text. In this case the font name
of the destination is used, but the font weight and font color is copied
from Word (but simplified). As you can see, the number of tags are
reduced a lot.
Example text:
HTML code from Word:
<span lang=EN-US
style='font-size:11.0pt;line-height:\r\n107%;font-family:\"Calibri\",sans-serif;mso-ascii-theme-font:minor-latin;\r\nmso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:\r\nminor-latin;mso-bidi-font-family:\"Times
New
Roman\";mso-bidi-theme-font:minor-bidi;\r\nmso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA'>This\r\nis
an <b style='mso-bidi-font-weight:normal'>example <span
style='color:#0070C0'>text</span></b>!</span> |
Cleaned HTML code:
This is an <b>example <font
color=#0070C0>text</font></b>! |
< Go Back
|
|