@@ -159,6 +159,9 @@ |
||
159 | 159 | return self::$noscripts[ (int) $match[1] ]; |
160 | 160 | } |
161 | 161 | |
162 | + /** |
|
163 | + * @param string $new_class |
|
164 | + */ |
|
162 | 165 | static function add_class( $html_string = '', $new_class ) { |
163 | 166 | $pattern = '/^class=[\'"]([^\'"]*)[\'"]$/'; |
164 | 167 |