fix(35): WR-02 drop the whole-document event-handler regex
validateHTML ran (?i)\son[a-z]+\s*= over the rendered document, text included, so a variable such as "buy one = get one free" stopped its own message, and it is what made Online=Shop in the footer a send failure. The tokenizer walk refuses every on* attribute, and since CR-02 it also reads raw-text element and comment content as markup, so the regex is dropped. Text shaped like a handler is now sent; such site names are shown and saved, and the Branding refusal copy no longer mentions onclick=.
This commit is contained in:
@@ -703,7 +703,7 @@ mail:
|
||||
logo_comment: "The built-in layouts show the logo in their header. Your own layouts show it where they use {{ .logoUrl }}."
|
||||
site_name: "Site name"
|
||||
site_name_comment: "Shown in the header and footer of the built-in layouts. Leave it empty to use the sender name from mail.from."
|
||||
site_name_unsafe: "This name cannot be shown in mail. Remove addresses that start with javascript:, vbscript: or data: and text such as onclick=."
|
||||
site_name_unsafe: "This name cannot be shown in mail. Remove addresses that start with javascript:, vbscript: or data:."
|
||||
body_bg: "Body background"
|
||||
content_bg: "Content background"
|
||||
header_color: "Header colour"
|
||||
|
||||
Reference in New Issue
Block a user