[yelp-xsl/wip/html5] Use $html.js.root for highlight.pack.js
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl/wip/html5] Use $html.js.root for highlight.pack.js
- Date: Mon, 1 May 2017 17:19:18 +0000 (UTC)
commit 545807e5c0016b463a700ceccfc612f050aeb569
Author: Shaun McCance <shaunm gnome org>
Date: Mon May 1 13:18:54 2017 -0400
Use $html.js.root for highlight.pack.js
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 8c1d4d7..4fefcc5 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')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]