mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-12 07:32:34 +01:00
This commit is contained in:
parent
ff45ebcdaf
commit
2659052bb9
40 changed files with 164 additions and 151 deletions
|
|
@ -12,5 +12,5 @@ export const escapeAttr = (html: string) => {
|
|||
|
||||
export const escapeAriaLabel = (html: string) => {
|
||||
return html.replace(/"/g, """).replace(/'/g, "'")
|
||||
.replace(/</g, "&lt;");
|
||||
.replace(/</g, "&lt;").replace(/</g, "&lt;");
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue