diff options
author | Lukas Larsson <lukas@erlang.org> | 2020-07-08 17:18:54 +0200 |
---|---|---|
committer | Lukas Larsson <lukas@erlang.org> | 2020-09-22 07:51:41 +0200 |
commit | b165524c73283edbe8576fd9b8a5ed9ead38364f (patch) | |
tree | 668529c86460122ef0a0312ee16d990838bf7919 /lib/erl_docgen/priv/xsl | |
parent | e51cbb1dc9001eb03db2bfe527ff467b841e45b5 (diff) | |
download | erlang-b165524c73283edbe8576fd9b8a5ed9ead38364f.tar.gz |
erts: Implement the BeamAsm JIT
Co-authored-by: John Högberg <john@erlang.org>
Co-authored-by: Dan Gudmundsson <dgud@erlang.org>
Co-authored-by: Björn Gustavsson <bjorn@erlang.org>
Diffstat (limited to 'lib/erl_docgen/priv/xsl')
-rw-r--r-- | lib/erl_docgen/priv/xsl/db_html.xsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl index 96efa89721..93071b680a 100644 --- a/lib/erl_docgen/priv/xsl/db_html.xsl +++ b/lib/erl_docgen/priv/xsl/db_html.xsl @@ -1319,12 +1319,12 @@ <div class="doc-image-wrapper"> <xsl:choose> - <xsl:when test="substring-after(@file,'.') = 'svg'"> + <xsl:when test="substring(@file, (string-length(@file) - string-length('.svg')) + 1) = '.svg'"> <object alt="IMAGE MISSING" data="{@file}" class="doc-svg doc-image"> </object> </xsl:when> <xsl:when test="@width"> - <img alt="IMAGE MISSING" width="{@width}" src="{substring-after(@file,'.')}" class="doc-image"/> + <img alt="IMAGE MISSING" width="{@width}" src="{@file}" class="doc-image"/> </xsl:when> <xsl:otherwise> <img alt="IMAGE MISSING" src="{@file}" class="doc-image"/> @@ -2537,7 +2537,7 @@ <xsl:variable name="extension"> <xsl:choose> - <xsl:when test="substring-after($mod_part,'.') = 'svg'"> + <xsl:when test="substring($mod_part, (string-length($mod_part) - string-length('.svg')) + 1) = '.svg'"> <xsl:text></xsl:text> </xsl:when> <xsl:otherwise> |