Module:HTMLParse/doc: Difference between revisions

170 bytes added ,  01:55, 1 September 2019
m
no edit summary
m (note about cargo / no html)
mNo edit summary
Line 3: Line 3:
This module parses and manipulates HTML strings.
This module parses and manipulates HTML strings.


There is currently only 1 function:
There is currently 2 functions:
* pluralize
* pluralize
* make_possessive




==Pluralize==
== pluralize ==
Pluralizes an HTML string by inserting an "s" between the final alphabetic character and closing tag </
Pluralizes an HTML string by inserting an "s" between the final alphabetic character and closing tag </


Line 30: Line 31:
|-
|-
|}
|}
== make_possessive ==
Identical to <code>pluralize</code> except that instead of inserting an <code>s</code>, make_possessive inserts an <code>'s</code>
<includeonly>
<includeonly>
<!-- Template categories/interwiki here -->
<!-- Template categories/interwiki here -->