Difference between revisions of "StripMarkup extension"
From FollowTheScore
(New page: The ''StripMarkup extension'' removes all wiki and html markup from a portion of wikitext. It can be used as a parser extension or as a parser function. Example: * this is a list * wi...) |
|||
Line 24: | Line 24: | ||
{{#stripmarkup: | {{#stripmarkup: | ||
* this is a list | * this is a list | ||
− | * with a [[Main Page]] hyperlink | + | * with a [[Main Page|aaa]] hyperlink |
}} | }} | ||
+ | |||
+ | Note that nothing remains from the hyperlink. |
Revision as of 05:32, 25 July 2007
The StripMarkup extension removes all wiki and html markup from a portion of wikitext.
It can be used as a parser extension or as a parser function.
Example:
* this is a list * with a Main Page hyperlink
would normally look like this:
- this is a list
- with a Main Page hyperlink
but would look like this, if it were placed between 'stripmarkup' tags:
<stripmarkup>
- this is a list
- with a Main Page hyperlink
</stripmarkup>
The same could be achieved with parser function syntax:
{{#stripmarkup:
- this is a list
- with a aaa hyperlink
}}
Note that nothing remains from the hyperlink.