RawHTML Parser

Description

Back in the MoinMoin 1.5 days there was an HTML parser that would interpret the HTML and display it as intended. The current HTML parser seems to want to to make the HTML readable, and not actually execute it. I am not the original author of this code, I simply adapted it for use with MoinMoin 1.9.

/!\ This was a bug and since moin-1.9.1 this is fixed. 1.9.3 will be published soon.

Download & Release Notes

Download

Release Version

Moin Version

Release Notes

rhtml.py

1.0

1.9

Installation

For general installation instructions, see ParserMarket/InstallingParsers. This parser requires no special dependencies, such as outside Python libraries.

Usage

To use this parser, simply put #!rhtml after the beginning of the code block.

Example

{{{#!rhtml
<a href="http://some.link/">some link</a>
}}}

This version of the parser is copyrighted by ChrisMartino. The original author is unknown.

License

This parser is released under the terms of the GNU GPL.

Discussion

Please check your moin-1.9 version because by the following example you can see that the safe html parser renders it correctly. Next time please report a bug if you find something like this ReimarBauer/Photo/img.png -- ReimarBauer 2010-06-11 15:08:11

{{{#!html

<h1> Simple test </h1>
}}}

Simple test


Made this for moin-1.9.2, so if I'm understanding you correctly, then it should have been fixed in that version (and it very well could have been), however it still wasn't operating how I wanted it. I want to be able to use some javascript code to create an inline google map. The safe html parser wouldn't do that, this does. -- ChrisMartino 2010-06-23 17:40:52

MoinMoin: ParserMarket/RawHTML (last edited 2010-06-23 17:41:49 by ChrisMartino)