Skip to content

Commit 155ac94

Browse files
committed
Don’t use double hyphens in HTML comments
They’re not allowed by the spec.
1 parent 3626bde commit 155ac94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/make_default_helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ module.exports = function(docMap, config, getCurrent, Handlebars){
211211
*
212212
* ```html
213213
* <!--####################################################################
214-
* THIS IS A GENERATED FILE -- ANY CHANGES MADE WILL BE OVERWRITTEN
214+
* THIS IS A GENERATED FILE ANY CHANGES MADE WILL BE OVERWRITTEN
215215
*
216216
* INSTEAD CHANGE:
217217
* source: docs/modules/bit-docs-tag-demo/bit-docs.js
@@ -222,7 +222,7 @@ module.exports = function(docMap, config, getCurrent, Handlebars){
222222
generatedWarning: function(){
223223
var current = getCurrent();
224224
return "<!--####################################################################\n" +
225-
"\tTHIS IS A GENERATED FILE -- ANY CHANGES MADE WILL BE OVERWRITTEN\n\n" +
225+
"\tTHIS IS A GENERATED FILE ANY CHANGES MADE WILL BE OVERWRITTEN\n\n" +
226226
'\tINSTEAD CHANGE:\n' +
227227
"\tsource: " + (current && current.src && current.src.path ? current.src.path : 'unknown') +
228228
(current.type ? '\n\t@' + current.type + " " + current.name : '') +

0 commit comments

Comments
 (0)