diff --git a/CHANGELOG b/CHANGELOG index 803c09ec359..de90b8863b1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -57,6 +57,7 @@ CHANGELOG Roundcube Webmail - Managesieve: Unhide advanced rule controls if there are inputs with errors - Managesieve: Display warning message when filter form contains errors - Control search engine crawlers via X-Robots-Tag header instead of and robots.txt (#5098) +- Fix so templating system does not mess with external (e.g. email) content (#5499) - Fix redundant keep-alive/refresh after session error on compose page (#5500) - Fix flickering of header topline in min-mode (#5426) - Fix bug where folders list would scroll to top when clicking on subscription checkbox (#5447) diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php index 1c281a69001..9847f271396 100644 --- a/program/include/rcmail_output_html.php +++ b/program/include/rcmail_output_html.php @@ -31,6 +31,7 @@ class rcmail_output_html extends rcmail_output protected $message; protected $template_name; + protected $objects = array(); protected $js_env = array(); protected $js_labels = array(); protected $js_commands = array(); @@ -638,15 +639,11 @@ function parse($name = 'main', $exit = true, $write = true) $output = $hook['content']; unset($hook['content']); - // make sure all