365 Word Mac Save as HTML Filtered not working...

Anonymous
2016-07-17T22:21:06+00:00

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.

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Jim G 134K Reputation points MVP Volunteer Moderator
    2016-07-18T15:33:37+00:00

    Hi Mark,

    Please keep in mind you posted to a user-to-user forum. You're addressing fellow Word customers, not Microsoft Office Engineers. That said, if you install a Fast Inside build of Office you can post to the special Insider forum where the Microsoft Office Engineers lurk.

    You didn't actually say what version of Word you have. If you go to the Word menu and choose About Word, you'll get that information, which you can share in a reply.

    0 comments No comments
  2. Anonymous
    2016-10-06T02:17:34+00:00

    Well, it is a fact that all the useful web editors on this planet (that would be Earth) encorporate user suggestions EVERYWHERE that support standards facilitation. It is clear that Microsoft goes out of its way to mangle standards. Must be a huge bash of dirty market tactics that make it impossible for Microsoft to get real. So it has an insulated Microsoft-only WORD product that is exceptional. But anything Microsoft is the dog's tail end anywhere near web standards. Expression Web FAIL was it's first and last fail. Poor dog. Dark web insulated corporate documents no one can read, intended. So not open. Yet secure, deployed elsewhere.

    0 comments No comments
  3. Jim G 134K Reputation points MVP Volunteer Moderator
    2016-10-07T15:25:19+00:00

    Unfortunately, with so many other good web editors out there such as DreamWeaver and MacFlux, the demand for making web pages from Office apps has declined to a small fraction of what it used to be. I doubt Microsoft is going to spend much time on perfecting Word's HTML when so many other more interesting problems can be worked on.

    0 comments No comments
  4. John Korchok 224.3K Reputation points Volunteer Moderator
    2016-10-07T16:09:06+00:00

    I'm with Jim on this. I never recommend using Word for it's HTML output. 

    To get Microsoft's ear, you can post a suggestion in the Word User Voice forum. Others can then vote on your idea. Microsoft uses this feedback to decide which features to add or improve.

    0 comments No comments