diff options
author | Nico Antkowiak <44241590+nantkowiak@users.noreply.github.com> | 2021-08-04 11:37:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 11:37:14 +0300 |
commit | 12c7ea581d7378185bc8c90d37360de61a033874 (patch) | |
tree | 0189e85402422454c4d79a05b7a0490872e27fde /program/include/rcmail.php | |
parent | 8d4043de7c2f9f4cdfcc6da84fb782a15f64579e (diff) |
Add option to control links handling behavior on html to text conversion (#6485)
Co-authored-by: NAN <antkowiak@dionera.com>
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r-- | program/include/rcmail.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 7c3e74750..0bd970f9d 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -1913,8 +1913,8 @@ class rcmail extends rcube public function html2text($html, $options = []) { $default_options = [ - 'links' => true, - 'width' => 75, + 'links' => $this->config->get('html2text_links', rcube_html2text::LINKS_DEFAULT), + 'width' => $this->config->get('html2text_width', 75), 'body' => $html, 'charset' => RCUBE_CHARSET, ]; |