Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 791359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:49:23+00:00 2026-05-14T21:49:23+00:00

In my current company, we have this decade old…let’s call it a Hello World

  • 0

In my current company, we have this decade old…let’s call it a “Hello World” application.

While wanting to create a newer version of it, we also want to preserve older entries. These older entries contain hideous Word-generated HTML which was never filtered before.

If and when we move to a newer system, I’d prefer to have that HTML cleaned and filtered in order to have the site comply with HTML standards as much as possible.
However, just cleaning that code like Jeff Atwood described in his blog or in any other way I know of would also ruin the style and formatting.

Now, that just might cause our users to revolt and then all hell will break loose – not a very good idea.

So the question is: Can Word’s HTML be cleaned while preserving basic formatting? (e.g: coloring, italicized, bold text and so on)

Preferably using publicly available code or library, such as HTML Tidy, examples in C# would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T21:49:23+00:00Added an answer on May 14, 2026 at 9:49 pm

    There are a couple of options available, but you can certainly use Jeff Atwood’s as a good starting point to code your own. If so, you’ll likely get fine-tuned control over the result – note though that the results will be never been 100% accurate as all that extra ms-code is actually there to ensure as much fidelity with the original document as possible (at least in IE for round-tripping purposes). But most code out there does preserve most formatting.

    Here are some code libraries that could be helpful:

    • Microsoft Word 2000 HTML Mess
      Cleaner
      (note: this one sells the
      source code)
    • MS Word HTML Cleanup Tool (note:
      intended to work with FCKEditor, but
      source is available)

    If you’re just wanting batch-processing (and don’t care about owning a code base), the Office 2000 HTML Filter 2.0 is probably your best best – read more about it on TechRepublic.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my current company, we have one tester. Having spoken to this tester, she
i have this menu: <ul class=lavaLamp id=menu> <li><a href=./index.xhtml >Home</a></li> <li class=current><a href=#>Company</a> //..
I have a input XML like this : <in_xml> <company> <project> ProjNo1 ProjNo2 ProjNo3
Our company is facing some difficulties with our CMS web application. This application was
I am developing a web application for my company. This application provides the users
I have this structure: WebContent resources components top.xhtml company about_us.xhtml index.xhtml top.xhtml is a
At my current company I have inherited an undocumented PayPal integration. As far as
I have come into a bump at my current company where they have an
So, I have this new project. My company uses the SalesForce.com cloud to store
At my company, our current method of updating the database is to connect using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.