Changes between Version 6 and Version 7 of GetHtml
- Timestamp:
- 02/09/07 12:18:52 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GetHtml
v6 v7 1 GetHtml is a replacement for the getHTML() function in htmlarea.js. It offers several improvements over the original, including:1 !GetHtml is a replacement for the getHTML() function in htmlarea.js. It offers several improvements over the original, including: 2 2 3 3 * Produces valid XHTML code 4 5 4 * Formats code in HTML view in indented, readable format. 6 7 5 * Much faster than HTMLArea.getHTML() 8 9 6 * Eliminates many hacks to accomodate browser quirks 10 11 7 * Returns correct code for Flash objects and scripts 12 13 8 * Preserves formatting inside script and pre tags 14 9 15 It is provided as a plugin to make installation and comparisons between the plugin and the original easy. The intention is eventually to make this a permanent part of htmlarea.js, in place of the original function. 10 You can enable this by setting [wiki:Documentation/ConfigVariablesList#xinha_configgetHtmlMethod xinha_config.getHtmlMethod] to "TransformInnerHTML" 16 11 17 GetHtml was developed by Nelson Bright and is under htmlArea license.12 !GetHtml was developed by Nelson Bright and is under htmlArea license. 18 13 It is based on the XML_Utility functions submitted in Ticket #253 by troels_kn, who gives credit also to adios, who helped with the regular expressions: http://www.sitepoint.com/forums/showthread.php?t=201052
