openstax / webview

Connexions web site
http://cnx.org
GNU Affero General Public License v3.0
12 stars 8 forks source link

Additional dot in list #1820

Closed wilkus27 closed 6 years ago

wilkus27 commented 6 years ago

There is a list with extra dot (https://katalyst01.cnx.org/contents/jQSmhtXo@16.36:4yAGHqDY@16.36/Test-Prep-for-AP-Courses)

dot

This is how it looks in PDF:

dot_pdf

PiotrKozlowski commented 6 years ago

@openstaxalina Markup for this looks like this. There is <ol>...</ol> inside of <li>...</li>. Should this be created that way?

...
<ul data-labeled-item="true" id="fs-id2216568a">
    <li>
        <ol id="eip-id1383327" type="I">
            <li>gamma rays</li>
            <li>infrared</li>
            <li>radio</li>
            <li>ultraviolet</li>
        </ol>
    </li>
</ul>
<ol data-mark-prefix="(" data-mark-suffix=")" id="fs-id2216568" type="a">
    <li data-mark-prefix="(" data-mark-suffix=")">I, II, and III</li>
    <li data-mark-prefix="(" data-mark-suffix=")">I and IV only</li>
    <li data-mark-prefix="(" data-mark-suffix=")">II and III only</li>
    <li data-mark-prefix="(" data-mark-suffix=")">III only</li>
</ol>
openstaxalina commented 6 years ago

I agree this is an issue with the markup. Moving to content-managers repo.

openstaxalina commented 6 years ago

Issue moved to Connexions/content-managers #237 via ZenHub