summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/SafeString.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-29 12:50:20 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-29 12:50:20 -0700
commit83344b9e7d5bdde05956a0a5c0b6578e19974066 (patch)
tree4ec27ddd2fe7739b09e82dd1119425fc0540e10f /modules/gallery/libraries/SafeString.php
parentc01ac42c4604b3b129e8089e0dc683ebd418b380 (diff)
Bugfix: Don't forget to copy the _is_purified_html flag when cloning a SafeString.
Diffstat (limited to 'modules/gallery/libraries/SafeString.php')
-rw-r--r--modules/gallery/libraries/SafeString.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/libraries/SafeString.php b/modules/gallery/libraries/SafeString.php
index 9a269ed4..9614a213 100644
--- a/modules/gallery/libraries/SafeString.php
+++ b/modules/gallery/libraries/SafeString.php
@@ -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;