Parsoid
A bidirectional parser between wikitext and HTML5
|
A Parsoid extension module defining annotations should define an AnnotationStripper that allows Parsoid to strip annotation markup from an arbitrary string, typically in the content of non-wikitext extensions (such as SyntaxHighlight) in the wt2html direction. More...
Public Member Functions | |
stripAnnotations (string $s) | |
Strip annotation markup from the provided string $s. | |
A Parsoid extension module defining annotations should define an AnnotationStripper that allows Parsoid to strip annotation markup from an arbitrary string, typically in the content of non-wikitext extensions (such as SyntaxHighlight) in the wt2html direction.
Wikimedia\Parsoid\Ext\AnnotationStripper::stripAnnotations | ( | string | $s | ) |
Strip annotation markup from the provided string $s.
string | $s |