jquery - Adding UL or OL to an HTML class -


i'm working on webhelp project css attached. when word documents converted topics corresponding css styles convert word documents ready formatted html topics, except bulleted , numbered headings. there way attach ul and/or ol tags class, numbered , bulleted levels format automatically when document converted? i've seen references jquery on topic. not know jquery assume name conditional statements created automate coding. i'm swinging in dark there. however, pick (jquery) if needed.

here's example of code add ol tags to:

<p class="step">1.<span style="font: 7.0pt 'times new roman';">&#160;&#160;&#160;&#160;</span>&#160;on insert tab, in illustrations group, click <span class="commandtext">shapes</span>.</p> <p class="step">2.<span style="font: 7.0pt 'times new roman';">&#160;&#160;&#160;&#160;</span>&#160;choose shape want insert.</p> <p class="step">3.<span style="font: 7.0pt 'times new roman';">&#160;&#160;&#160;&#160;</span>&#160;click , drag draw shape on slide.</p> 

wrap content in li item, remove p tags. fiddle here: http://jsfiddle.net/ext8j/ .

updated version(cleaned bullets , removes span empty spaces): http://jsfiddle.net/ext8j/1/


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -