diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 12:34:09 -0700 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 12:34:09 -0700 |
| commit | a10063ff68cf5988297dcad889384ab2080c3850 (patch) | |
| tree | 91438ba34a1641297bd767b5931d56f44bfa4082 /modules/gallery/libraries/I18n.php | |
| parent | 7adb9ea2e3a42e1c5472024a1699912ae26eacb3 (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.php | 2 |
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) { |
