Skip to content

Commit

Permalink
Add HTML signature support in Usermin
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Mar 31, 2024
1 parent fabbac7 commit f6c0fd7
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extensions/mail/mail.min.js

Large diffs are not rendered by default.

Binary file modified extensions/mail/mail.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion extensions/mail/mail.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ const mail = (function() {
form_data = $form.serialize(),
$form_textarea = $(rs).find('textarea[name="body"]'),
toolbar_mode = $form_textarea.data('html-mode'),
signature = $.trim(_.plugin.quote_escape(_.plugin.html_strip($form_textarea.text())));
signature = $.trim(_.plugin.quote_escape($form_textarea.text()));

if (config.d.u.html_edit == 2 && signature) {
signature = `${$$.$.template.html.tags.br.repeat(2) + signature}`;
Expand Down
2 changes: 1 addition & 1 deletion theme.info
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bootstrap=3
spa=1
nomodcall=xnavigation=1
version=21.10-RC1
mversion=10
mversion=11
bversion=00
webmin=1
usermin=1
Expand Down
Binary file modified unauthenticated/js/bundle.min.js.gz
Binary file not shown.

0 comments on commit f6c0fd7

Please sign in to comment.