Skip to content

Commit 974f69e

Browse files
committed
fix for comment
Special charcters I guess
1 parent daf16d9 commit 974f69e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/lib/JSONSchemaMarkdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ class JSONSchemaMarkdown {
732732
slugify(string) {
733733
return string.toString().toLowerCase()
734734
.replace(/\s+/g, '-') // Replace spaces with -
735-
.replace(/&/g, '-and-') // Replace & with ‘and’
735+
.replace(/&/g, '-and-') // Replace & with "-and-"
736736
.replace(/[^\w-.]+/g, '') // Remove all non-word characters
737737
.replace(/--+/g, '-') // Replace multiple - with single -
738738
.replace(/^-+/, '') // Trim - from start of text

0 commit comments

Comments
 (0)