Use the new character entity reference sanitizer on wikitext as well as
[lhc/web/wiklou.git] / includes / Sanitizer.php
index 757b46c..2729efc 100644 (file)
@@ -784,10 +784,14 @@ class Sanitizer {
                        # 15.3
                        'hr'         => array_merge( $common, array( 'noshade', 'size', 'width' ) ),
                        
+                       # XHTML Ruby annotation text module, simple ruby only.
+                       # http://www.w3c.org/TR/ruby/
+                       'ruby'       => $common,
+                       # rbc
+                       # rtc
                        'rb'         => $common,
+                       'rt'         => $common, #array_merge( $common, array( 'rbspan' ) ),
                        'rp'         => $common,
-                       'rt'         => $common,
-                       'ruby'       => $common,
                        );
                return $whitelist;
        }