mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -65,11 +65,11 @@ const XML_CHAR_MAP: { [key: string]: string } = {
|
||||
'>': '>',
|
||||
'&': '&',
|
||||
'"': '"',
|
||||
"'": '''
|
||||
'\'': ''',
|
||||
};
|
||||
|
||||
export function escapeXml(str: string) {
|
||||
return str.replace(/[<>&"']/g, function (ch: string) {
|
||||
return str.replace(/[<>&"']/g, (ch: string) => {
|
||||
return XML_CHAR_MAP[ch];
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user