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';">    </span> 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';">    </span> choose shape want insert.</p> <p class="step">3.<span style="font: 7.0pt 'times new roman';">    </span> 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
Post a Comment