Previous: , Up: Rendering   [Contents][Index]


4.2.3 The HTML renderer internals

HTML rendering is based on complex regular expressions. It finds tags and deals with them by the functions set in ‘wwe-render-rules’. If you wanted to, you could add a tag or change an existing tag’s rules with options to remove the tag, apply face wwe-TAGNAME, insert a newline or two, or use your own function for any tag name’s opening tag and possible closing tag.

Put container tags you wish to ignore in the list ‘wwe-render-ignored-containers’. Everything between the two container tags will be removed. <script> and <style> are the default tags to ignore.

Undo information is not saved when rendering. If you need it set the variable ‘wwe-render-keep-undo-info’.

Enable HTML render debugging by setting the variable ‘wwe-render-debug’ to t. You can find the debug messages in the buffer called ‘*HTML render debug*’ (see ‘wwe-render-debug-buffer’).