API Reference

Class

HtmlListSemanticsNormalizer

Namespace OfficeIMO.Word

Normalizes HTML list markup before it is handed to Word's AltChunk importer.

Inheritance

  • Object
  • HtmlListSemanticsNormalizer

Remarks

Word interprets a value attribute on an item in an unordered list as numbering metadata. Browsers ignore that attribute for bullet semantics, so remove it only when the nearest containing list is a ul. Ordered-list values remain intact.