module documentation

This takes the feedparser tests from here:

http://feedparser.org/tests/wellformed/sanitize/

and rewrites them to be easier to handle (not using the internal model of feedparser). The input format is:

<!--
Description: {description}
Expect: {expression}
-->
...
<content ...>{content}</content>
...

The Expect expression is checked for entries[0]['content'][0]['value'] == {data}.

The output format is:

Description: {description}
Expect: {expression} (if data couldn't be parsed)
Options:

{content, unescaped}
----------
{data, unescaped, if found}
Function parse​_content Undocumented
Function serialize​_content Undocumented
Function translate​_all Undocumented
Function translate​_file Undocumented
Variable ​_data​_expect​_re Undocumented
Variable ​_desc​_re Undocumented
Variable ​_expect​_re Undocumented
Variable ​_feed​_data​_expect​_re Undocumented
def parse_content(content):

Undocumented

def serialize_content(d):

Undocumented

def translate_all(dir):

Undocumented

def translate_file(filename):

Undocumented

_data_expect_re =

Undocumented

_desc_re =

Undocumented

_expect_re =

Undocumented

_feed_data_expect_re =

Undocumented