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: 10 additions & 0 deletions xsl/pretext-runestone.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -2839,6 +2839,16 @@ along with PreTeXt. If not, see <http://www.gnu.org/licenses/>.
<xsl:text>;base64,</xsl:text>
<xsl:value-of select="$image-b64-elt/@pi:base64"/>
</xsl:attribute>
<xsl:attribute name="alt">
<xsl:choose>
<xsl:when test="image/shortdescription">
<xsl:value-of select="image/shortdescription"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@filename"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</img>
</xsl:when>
<!-- text, an authored toy example, or a serious external file -->
Expand Down