Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion xsl/pretext-html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -5923,7 +5923,15 @@ along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
</xsl:when>
<!-- No good test for unstructured? -->
<xsl:otherwise>
<div class="para">
<div>
<xsl:attribute name="class">
<xsl:text>para</xsl:text>
<!-- Just like for explicitly added <p>'s, if we contain a block -->
<!-- element, an additional "logical" class should be added -->
<xsl:if test="ol|ul|dl|me|men|md|mdn|cd">
<xsl:text> logical</xsl:text>
</xsl:if>
</xsl:attribute>
<!-- Create a derived id, if original. Somewhat -->
<!-- contrived so it doesn't collide with another. -->
<xsl:if test="$b-original">
Expand Down