mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-10 02:49:40 +02:00
2122 Blöockling javascript urls
This commit is contained in:
@@ -26,6 +26,10 @@ export const removeScript = txt => {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
rs = rs.replace('javascript:', '#');
|
||||
rs = rs.replace('<iframe', '');
|
||||
|
||||
return rs;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user