mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
Use double quotes for HTML attribute of demo page containing JSON.stringify output (because that escapes double quotes but not single quotes and encodeURIComponent also ignores single quotes).
This commit is contained in:
parent
e959c1e522
commit
599b687849
1 changed files with 2 additions and 2 deletions
|
@ -130,9 +130,9 @@
|
|||
"\"</span>]" :
|
||||
"") +
|
||||
(result.fixInfo ?
|
||||
" [<a href='#fix' target='" +
|
||||
" [<a href='#fix' target=\"" +
|
||||
encodeURIComponent(JSON.stringify(result)) +
|
||||
"' class='detail'>Fix</a>]" :
|
||||
"\" class='detail'>Fix</a>]" :
|
||||
"");
|
||||
}).join("<br/>");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue