summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/MY_html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/helpers/MY_html.php')
-rw-r--r--modules/gallery/helpers/MY_html.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/helpers/MY_html.php b/modules/gallery/helpers/MY_html.php
index 4522d01c..b29f287f 100644
--- a/modules/gallery/helpers/MY_html.php
+++ b/modules/gallery/helpers/MY_html.php
@@ -51,12 +51,12 @@ class html extends html_Core {
*
* Example:<pre>
* // Parameters to t() are automatically escaped by default.
- * // If the parameter is marked as safe, it won't get escaped.
+ * // If the parameter is marked as clean, it won't get escaped.
* t('Go <a href="%url">there</a>',
- * array("url" => html::mark_safe(url::current())))
+ * array("url" => html::mark_clean(url::current())))
* </pre>
*/
- static function mark_safe($html) {
+ static function mark_clean($html) {
return SafeString::of_safe_html($html);
}