Skip to content

Commit e504104

Browse files
committed
Update README.md
1 parent 711dd71 commit e504104

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,18 @@ Read the documentation for the Swedish module at [http://formvalidator.net/#swed
118118
### Module: uk
119119
* **ukvatnumber**
120120

121+
### Module: sanitation
122+
* **trim**
123+
* **trimLeft**
124+
* **trimRight**
125+
* **upper** (convert all letters to upper case)
126+
* **lower** (convert all letters to lower case)
127+
* **capitalize** (convert the first letter in all words to upper case)
128+
* **insertRight** (declare a text that should be inserted at the end of the value, attribute data-sanitize-insert-right)
129+
* **insertLeft** (declare a text that should be inserted at the beginning of the value, attribute data-sanitize-insert-left)
130+
* **escape** (convert < > & ' " to html entities)
131+
* **numberFormat** (declare the attribute data-sanitize-number-format with any of the formats described on http://numeraljs.com/. Note that this rule requires that numeral.js is included in the page)
132+
121133
Read the documentation for the UK module at [http://formvalidator.net/#uk-validators](http://formvalidator.net/#uk-validators)
122134

123135

@@ -236,7 +248,7 @@ it calls jQ func **$.formUtils.validateInput** to validate the single input when
236248

237249
## Changelog
238250

239-
#### 2.2.8 (unreleased)
251+
#### 2.2.8
240252
- The plugin is now again possible to install via bower.
241253
- Portoguese language pack and validators
242254
- New module used for data-sanitiation

0 commit comments

Comments
 (0)