summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/I18n.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-29 12:34:09 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-29 12:34:09 -0700
commita10063ff68cf5988297dcad889384ab2080c3850 (patch)
tree91438ba34a1641297bd767b5931d56f44bfa4082 /modules/gallery/libraries/I18n.php
parent7adb9ea2e3a42e1c5472024a1699912ae26eacb3 (diff)
Add more factory methods for convenience:
SafeString::purify() and SafeString::of_safe_html(). Removing SafeString::mark_html_safe() since it's no longer needed.
Diffstat (limited to 'modules/gallery/libraries/I18n.php')
-rw-r--r--modules/gallery/libraries/I18n.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/I18n.php b/modules/gallery/libraries/I18n.php
index 8dc42e04..a53d5ae9 100644
--- a/modules/gallery/libraries/I18n.php
+++ b/modules/gallery/libraries/I18n.php
@@ -116,7 +116,7 @@ class I18n_Core {
$entry = $this->interpolate($locale, $entry, $values);
- return SafeString::of($entry)->mark_html_safe();
+ return SafeString::of_safe_html($entry);
}
private function lookup($locale, $message) {