@@ -90,6 +90,9 @@ discard block |
||
90 | 90 | return $html; |
91 | 91 | } |
92 | 92 | |
93 | + /** |
|
94 | + * @param string $regexp |
|
95 | + */ |
|
93 | 96 | static public function regexp_entities( $regexp ) { |
94 | 97 | return preg_replace( |
95 | 98 | '/\[\^&([^\]]+)\]\*\+/', |
@@ -128,6 +131,9 @@ discard block |
||
128 | 131 | return self::dispatch( $matches ); |
129 | 132 | } |
130 | 133 | |
134 | + /** |
|
135 | + * @param string[] $matches |
|
136 | + */ |
|
131 | 137 | static function dispatch( $matches ) { |
132 | 138 | $html = preg_replace( '%�*58;//%', '://', $matches[0] ); |
133 | 139 | $attrs = self::get_attrs( $html ); |