mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-22 15:53:50 -04:00
Bugfix: Don't forget to copy the _is_purified_html flag when cloning a SafeString.
This commit is contained in:
@@ -32,6 +32,7 @@ class SafeString_Core {
|
||||
function __construct($string) {
|
||||
if ($string instanceof SafeString) {
|
||||
$this->_is_safe_html = $string->_is_safe_html;
|
||||
$this->_is_purified_html = $string->_is_purified_html;
|
||||
$string = $string->unescaped();
|
||||
}
|
||||
$this->_raw_string = (string) $string;
|
||||
|
||||
Reference in New Issue
Block a user