diff options
author | Shaun McCance <shaunm@gnome.org> | 2017-05-01 13:18:54 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2017-05-01 13:18:54 -0400 |
commit | 545807e5c0016b463a700ceccfc612f050aeb569 (patch) | |
tree | d7de7fe7972094225707b770a208151bd709a8cb | |
parent | 3241c50bbabd16da7cae5002a46d3fadc722809f (diff) | |
download | yelp-xsl-545807e5c0016b463a700ceccfc612f050aeb569.tar.gz |
Use $html.js.root for highlight.pack.js
-rw-r--r-- | xslt/common/html.xsl | 2 |
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') |