Software Details:
Version: 1.4.0
Upload Date: 5 Jun 15
Distribution Type: Freeware
Downloads: 150
Size: 11 Kb
jquery.htmlClean uses a visual interface that lets developers copy-paste their code inside a textarea, outputting the beautified results below.
The plugin can also be integrated with WYSIWYG editors, allowing developers to support copy-pasting text formatted by desktop software like Microsoft Word and OpenOffice.
Supported operations:
Automatically closes tags
Makes all tags lowercase
Removes non-standard, inline style, and event attributes
Removes whitespace
Removes empty lines
Removes code comments
Can replace certain tags
Can leave CSS classes in place
Indents the outputted HTML code
What is new in this release:
- Added allowEmpty to options, allows empty tags mentioned better formatting other bug fixes.
What is new in version 1.3.0:
- Added allowedAttributes option a list of the attributes allowed on a tag in addition to the internal defaults
- Removed functionality covered by removeTags
What is new in version 1.2.3:
- Multiple style matches supported, inline elements are replaced by the first match, block-level elements are retained.
Requirements:
- JavaScript enabled on client side
- jQuery 1.3.2 or higher
Comments not found