This project has moved. For the latest updates, please go here.

Styled spans turn the subsequent headings into normal text

Feb 6, 2015 at 7:27 PM
Trying to import the following HTML:
    <h1>First heading</h1>
    <ol>
        <li>
            <span class="normal">Normal text</span>
        </li>
    </ol>

    <h1>Second heading</h1>
But Second heading in Word turns out to be Normal text.

If I removed class from the span, then the 2nd heading would be still Heading 1.

Are the class-styled spans supported? They do not require any special rendeing.
Coordinator
Feb 10, 2015 at 9:18 PM
After testing both cases, I obtain the same results on the 2nd hearing.
You specify both <h1> so you obtain Heading 1.

Yes, <span> handle also class attribute.
Feb 10, 2015 at 9:21 PM
Just imported this document:
<!doctype html>
<html><head><title>a</title></head><body>
<h1>Header 1</h1>
<p><span class="Normal">Par 1</span></p>
<p><span>Par 2</span></p>
<h1>Another Header 1</h1>
</body></html>
"Another Header 1" rendered in Normal text.

Then I imported this:
<!doctype html>
<html><head><title>a</title></head><body>
<h1>Header 1</h1>
<p><span>Par 1</span></p>
<p><span>Par 2</span></p>
<h1>Another Header 1</h1>
</body></html>
"Another Header 1" rendered as Heading 1 as it should.
Coordinator
Feb 10, 2015 at 9:49 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.