Sanitize: do not escape forward slash (#65416)
This commit is contained in:
@@ -85,6 +85,5 @@ export function escapeHtml(str: string): string {
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
.replace(/'/g, ''')
|
||||
.replace(/\//g, '/')
|
||||
.replace(/"/g, '"');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user