 |
|
Innovation award
 Nominee: 1x |
This class can encode characters in text in HTML tags.
It can take a text string eventual formatted with HTML tags and encodes all characters as HTML entities, preserving the original HTML markup.
The class can also replace line break characters by line break HTML tags if the line break is within an HTML tag.
It can also remove any JavaScript it finds to prevent cross-site scripting attacks.
|
|
| Name: |
Regulate XHTML Text |
| Base name: |
xhtmlencode |
| Description: |
Encode characters in text in HTML tags |
| Version: |
1.0 |
| PHP version: |
5.0 |
| License: |
GNU General Public License (GPL) |
| All time users: |
407 users |
| All time rank: |
5445 |
| Week users: |
1 user |
| Week rank: |
2151  |
| |
|
 July 2011
Number 6 |
Cleaning up and encoding text to show it in HTML pages is easy. However, if you need to properly encode text that is already within HTML tags, it is not so easy.
This class provides a solution that parses the HTML and rewrite the tags and data to properly encode all the text it contains.
Manuel Lemos |
| Not yet rated by the users |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|