Skip to content

Commit 5da6196

Browse files
committed
remove "#" in id attribute
it breaks hyperlinking
1 parent a3edf1f commit 5da6196

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
@@ -550,7 +550,7 @@ class JSONSchemaMarkdown {
550550
*/
551551
writePath(level, path) {
552552
if (this.notEmpty(path)) {
553-
this.writeLine('<i id="' + path + '">path: ' + path + '</i>', level);
553+
this.writeLine('<i id="' + path.replace('#', '') + '">path: ' + path + '</i>', level);
554554
}
555555
}
556556

0 commit comments

Comments
 (0)