We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daf16d9 commit 974f69eCopy full SHA for 974f69e
docs/lib/JSONSchemaMarkdown.js
@@ -732,7 +732,7 @@ class JSONSchemaMarkdown {
732
slugify(string) {
733
return string.toString().toLowerCase()
734
.replace(/\s+/g, '-') // Replace spaces with -
735
- .replace(/&/g, '-and-') // Replace & with and
+ .replace(/&/g, '-and-') // Replace & with "-and-"
736
.replace(/[^\w-.]+/g, '') // Remove all non-word characters
737
.replace(/--+/g, '-') // Replace multiple - with single -
738
.replace(/^-+/, '') // Trim - from start of text
0 commit comments