summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2017-05-01 13:18:54 -0400
committerShaun McCance <shaunm@gnome.org>2017-05-01 13:18:54 -0400
commit545807e5c0016b463a700ceccfc612f050aeb569 (patch)
treed7de7fe7972094225707b770a208151bd709a8cb
parent3241c50bbabd16da7cae5002a46d3fadc722809f (diff)
downloadyelp-xsl-545807e5c0016b463a700ceccfc612f050aeb569.tar.gz
Use $html.js.root for highlight.pack.js
-rw-r--r--xslt/common/html.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/common/html.xsl b/xslt/common/html.xsl
index 8c1d4d79..4fefcc56 100644
--- a/xslt/common/html.xsl
+++ b/xslt/common/html.xsl
@@ -2490,7 +2490,7 @@ on all #{code} elements with #{"syntax"} in the class value.
<xsl:template name="html.js.syntax">
<xsl:param name="node" select="."/>
<xsl:if test="$html.syntax.highlight">
- <script type="text/javascript" src="highlight.pack.js"></script>
+ <script type="text/javascript" src="{$html.js.root}highlight.pack.js"></script>
<script><![CDATA[
document.addEventListener('DOMContentLoaded', function() {
var matches = document.querySelectorAll('code.syntax')