diff --git a/modules/htmlout/lib/htmlout.js b/modules/htmlout/lib/htmlout.js index 8218ea877..718e7ded9 100644 --- a/modules/htmlout/lib/htmlout.js +++ b/modules/htmlout/lib/htmlout.js @@ -738,8 +738,11 @@ HTMLOut.prototype.setData = function(err, sData, sFile, fTemplate) /* * Copy the HTML template, and then start finding/replacing tokens. + * + * We cheat slightly and insert one of those tokens right now, because otherwise + * the template file itself would not render correctly in your web browser. */ - this.sTemplate = sData; + this.sTemplate = sData.replace("/modules/shared/templates/common.css", "/versions/pcjs//common.css"); this.sHTML = this.sTemplate; /* diff --git a/modules/shared/templates/common.html b/modules/shared/templates/common.html index 194ae3eb0..2b9b189d0 100644 --- a/modules/shared/templates/common.html +++ b/modules/shared/templates/common.html @@ -10,7 +10,7 @@ when rotating to landscape mode; by setting only "initial-scale", the width is apparently inferred --> - +