Fixed margin property for blockquote inline replacement (use same as in css).
This commit is contained in:
parent
9169b6fb88
commit
6373c91743
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ Add/change markup to display html in any mail client nice.
|
||||||
def self.html_mail_client_fixes(html)
|
def self.html_mail_client_fixes(html)
|
||||||
|
|
||||||
# https://github.com/martini/zammad/issues/165
|
# https://github.com/martini/zammad/issues/165
|
||||||
new_html = html.gsub('<blockquote type="cite">', '<blockquote type="cite" style="border-left: 2px solid blue; margin: 0px; padding: 8px 12px 8px 12px;">')
|
new_html = html.gsub('<blockquote type="cite">', '<blockquote type="cite" style="border-left: 2px solid blue; margin: 0 0 16px; padding: 8px 12px 8px 12px;">')
|
||||||
new_html.gsub!('<p>', '<p style="margin: 0;">')
|
new_html.gsub!('<p>', '<p style="margin: 0;">')
|
||||||
new_html
|
new_html
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue