365 Word Mac Save as... HTML (Filtered...)
NOT Working!
Well, HTML Filtered is almost working!
HTML Filtered save is almost excellent, BUT only where Word document content is formatted using 'default' (see below, 'Managed Exceptions') Style Ribbon, Design theme-scheme formatting. E.g., everything formatted using the Style Ribbon is saved as nice,
clean HTML without Office markup.
However, when one selects a block of text, say, a horizontal one-line paragraph containing document navigation, and applies special formatting to that selection (say, down-sized small caps font), using the Format menu... then Word fails to filter the selection,
and the selection's HTML code is a gross mess, the unfiltered Office markup. The Format Menu coins all the same formatting options found in Style Ribbon > Modify, Format... menu.
Fixing Word so HTML Filtered works
This is why it should be easy for Microsoft to fix Office Word so that the unhealthy Office Markup is not inserted into the otherwise correctly coded W3C HTML Standards compliant HTML Filtered document save... Format menu
panels for Font and for Paragraph need the same exceptions as Style ribbon buttons. Here's why the same Office Application programming exceptions for inserting special Font and Paragraph formatting should convert to HTML without markup.
It is ONLY! the Format menu styling that gets bastardised.
Managed exceptions
When using the Style ribbon, when one right clicks to "Modify" Font, Paragraph, Bullets and Numbering, etc., then after the modification is made, and when the document is saved as HTML Filtered, there is no Office markup, just excellent,
clean, Standard HTML! Use the Format menu instead of Style ribbon, and office makes a messed up document.
In the following example section, we see the clean code that should be saved, and the AWEFUL MESS code that Word is creating in an otherwise almost perfect, ALMOST STANDARDS COMPLIANT document that is Save as... HTML (Filtered...).
Now, if Microsoft simply blurts that one should then not use the Format command... Hold ON! That is ridiculous! Document writers do not have the ties around their necks to Modify style ribbon buttons for a selected word or line
of txt, and then go back and reset Design theme button style every time simple special formatting occurs. Be nice, people!
IMPORTANT! Word is really not robust enough for constant style ribbon tweaking. Try using this method, and note that ALL of the style button previews start to suddenly,very suddenly corrupt... you are now the proud owner of a WASTED DOCUMENT! You should reinstall Microsoft Office, NOW!
Example of Word's usual clean code
<p style="font-family:Verdana;font-size:8pt;font-variant:small-caps;
color:#00B0F0;letter-spacing:1.0pt;text-decoration:none">
Navigation
<a href="#_top">Top</a>
<a href="#_Dark_web_and">Administration</a>
<a href="#_COSEC_identification_of">Sources</a>
<a href="#_Darkweb_data_analysis">Darkwebv</a>
<a href="#_Clearweb_data_analysis">Clearweb</a>
<a href="#_General_data_analysis">General</a>
</p>
Same paragraph, but messed up by 'HTML Filtered' save
<p class=MsoListBullet><span lang=EN-GB style='color:#00B0F0;letter-spacing:
1.0pt'>Navigation </span><a href="#_top"><b><span lang=EN-GB
style='font-family:Verdana;font-variant:small-caps;color:#00B0F0;letter-spacing:
1.0pt;text-decoration:none'>Top</span></b></a><span class=MsoHyperlink><b><span
lang=EN-GB style='font-family:Verdana;font-variant:small-caps;color:#00B0F0;
letter-spacing:1.0pt;text-decoration:none'> </span></b></span><a
href="#_Dark_web_and"><b><span lang=EN-GB style='font-family:Verdana;
font-variant:small-caps;color:#00B0F0;letter-spacing:1.0pt;text-decoration:
none'>Administration</span></b></a><span class=MsoHyperlink><b><span
lang=EN-GB style='font-family:Verdana;font-variant:small-caps;color:#00B0F0;
letter-spacing:1.0pt;text-decoration:none'> </span></b></span><a
href="#_COSEC_identification_of"><b><span lang=EN-GB style='font-family:Verdana;
font-variant:small-caps;color:#00B0F0;letter-spacing:1.0pt;text-decoration:
none'>Sources</span></b></a><span class=MsoHyperlink><b><span lang=EN-GB
style='font-family:Verdana;font-variant:small-caps;color:#00B0F0;letter-spacing:
1.0pt;text-decoration:none'> </span></b></span><a
href="#_Darkweb_data_analysis"><b><span lang=EN-GB style='font-family:Verdana;
font-variant:small-caps;color:#00B0F0;letter-spacing:1.0pt;text-decoration:
none'>Darkweb</span></b></a><span class=MsoHyperlink><b><span lang=EN-GB
style='font-family:Verdana;font-variant:small-caps;color:#00B0F0;letter-spacing:
1.0pt;text-decoration:none'> </span></b></span><a
href="#_Clearweb_data_analysis"><b><span lang=EN-GB style='font-family:Verdana;
font-variant:small-caps;color:#00B0F0;letter-spacing:1.0pt;text-decoration:
none'>Clearweb</span></b></a><span class=MsoHyperlink><b><span lang=EN-GB
style='font-family:Verdana;font-variant:small-caps;color:#00B0F0;letter-spacing:
1.0pt;text-decoration:none'> </span></b></span><a
href="#_General_data_analysis"><b><span lang=EN-GB style='font-family:Verdana;
font-variant:small-caps;color:#00B0F0;letter-spacing:1.0pt;text-decoration:
none'>General</span></b></a></p>
Conclusion
Sorry if my teasing paragraphs put anyone off, but we all need to know what happens around what works, and what does not work. Please fix this HTML Filtered bug, Microsoft Office Engineers.
Errata
Add to the above clean 'filtered' web code several encyclopedias of mangled CSS.