- From: SVG Working Group repository <cam+svgwgrepo@mcc.id.au>
- Date: Thu, 13 Jun 2013 15:14:47 -0700
- To: public-svg-wg@w3.org
details: https://svgwg.org/hg/svg2-tools/rev/7930bc4dbcb0 branches: changeset: 82:7930bc4dbcb0 user: Cameron McCormack <cam@mcc.id.au> date: Fri Jun 14 08:14:36 2013 +1000 description: Use https for style sheet link. diffstat: publish/processing.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (22 lines): diff --git a/publish/processing.js b/publish/processing.js --- a/publish/processing.js +++ b/publish/processing.js @@ -62,17 +62,17 @@ exports.insertStyleSheets = function(con // Add a link to a local or remote W3C TR style sheet for this document's maturity. var href = 'W3C-' + conf.shortMaturity; if (conf.localStyleSheets) { href = 'style/' + href + '.css'; } else { href = '//www.w3.org/StyleSheets/TR/' + href; if (conf.maturity != 'ED') { - href = 'http:' + href; + href = 'https:' + href; } } doc.head.appendChild(utils.parse('<link rel="stylesheet" href="{{href}}" type="text/css" media="screen"/>', { href: href })); if (conf.maturity == 'ED') { // Add <script> to fix up protocol-relative style sheet links when viewed over file:. doc.head.appendChild(utils.parse('<script src="style/link-fixup.js"></script>'));
Received on Thursday, 13 June 2013 22:15:13 UTC