[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/lib/editor/htmlarea/plugins/GetHtml/ -> get-html.js (summary)

(no description)

File Size: 203 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  GetHtml()

Functions
Functions that are not part of a class:

GetHtml(editor)   X-Ref
Based on XML_Utility functions submitted by troels_kn.
credit also to adios, who helped with reg exps:
http://www.sitepoint.com/forums/showthread.php?t=201052

A replacement for HTMLArea.getHTML

Features:
- Generates XHTML code
- Much faster than HTMLArea.getHTML
- Eliminates the hacks to accomodate browser quirks
- Returns correct code for Flash objects and scripts
- Formats html in an indented, readable format in html mode
- Preserves script and pre formatting
- Preserves formatting in comments
- Removes contenteditable from body tag in full-page mode
- Supports only7BitPrintablesInURLs config option
- Supports htmlRemoveTags config option



Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7