mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-16 12:39:58 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -476,11 +476,11 @@ export class ClassDB implements DiagramDB {
|
|||||||
// Utility function to escape HTML meta-characters
|
// Utility function to escape HTML meta-characters
|
||||||
private escapeHtml(str: string): string {
|
private escapeHtml(str: string): string {
|
||||||
return str
|
return str
|
||||||
.replace(/&/g, "&")
|
.replace(/&/g, '&')
|
||||||
.replace(/</g, "<")
|
.replace(/</g, '<')
|
||||||
.replace(/>/g, ">")
|
.replace(/>/g, '>')
|
||||||
.replace(/"/g, """)
|
.replace(/"/g, '"')
|
||||||
.replace(/'/g, "'");
|
.replace(/'/g, ''');
|
||||||
}
|
}
|
||||||
|
|
||||||
private readonly setupToolTips = (element: Element) => {
|
private readonly setupToolTips = (element: Element) => {
|
||||||
|
Reference in New Issue
Block a user