@@ -119,12 +119,19 @@ |
||
| 119 | 119 | } |
| 120 | 120 | } |
| 121 | 121 | |
| 122 | + /** |
|
| 123 | + * @param string $content |
|
| 124 | + */ |
|
| 122 | 125 | protected function MustacheTagCleaner($content) |
| 123 | 126 | { |
| 124 | 127 | //kills all xml tags within curly mustache brackets |
| 125 | 128 | //this is necessary, as word might produce unnecesary xml tage inbetween curly backets. |
| 126 | 129 | return preg_replace_callback( |
| 127 | 130 | '/{{(.*?)}}/', |
| 131 | + |
|
| 132 | + /** |
|
| 133 | + * @param string $treffer |
|
| 134 | + */ |
|
| 128 | 135 | function($treffer) { |
| 129 | 136 | return strip_tags($treffer[0]); |
| 130 | 137 | }, |