DOCTYPE = '''''' HTML_TEMPLATE = '''\ %(title)s %(body)s ''' SIMPLE_HTML = '''\ Title in tag

Not a lot here

''' BASIC_HTML = '''\ Title in tag

Not a lot here

''' SIMPLE_XHTML = """\ Title in tag

Not a lot here

""" # A document with an html-qualifying *portion*. FAUX_HTML_LEADING_TEXT = '''\ The following would look like HTML but for this leading text: Title in tag

Not a lot here

''' ENTITY_IN_TITLE = '''\ &Auuml;rger

Not a lot here either

''' SIMPLE_STRUCTUREDTEXT = '''\ Title: My Document Description: A document by me Contributors: foo@bar.com; baz@bam.net; no@yes.maybe Subject: content management, zope This is the header Body body body body body body body body. o A list item o And another thing... ''' BASIC_STRUCTUREDTEXT = '''\ Title: My Document Description: A document by me Contributors: foo@bar.com; baz@bam.net; no@yes.maybe Subject: content management, zope Keywords: unit tests; , framework This is the header Body body body body body body body body. o A list item o And another thing... ''' STX_WITH_HTML = """\ Sometimes people do interesting things Sometimes people do interesting things like have examples of HTML inside their structured text document. We should be detecting that this is indeed a structured text document and **NOT** an HTML document:: Hello World

Hello world, I am Bruce.

All in favor say pi! """ STX_NO_HEADERS = """\ Title Phrase This is a "plain" STX file, with no headers. Saving with it shouldn't overwrite any metadata. """ STX_NO_HEADERS_BUT_COLON = """\ Plain STX: No magic! This is a "plain" STX file, with no headers. Saving with it shouldn't overwrite any metadata. """ BASIC_RFC822 = """\ Title: Zope Community Description: Link to the Zope Community website. Subject: open source; Zope; community http://www.zope.org """ RFC822_W_CONTINUATION = """\ Title: Zope Community Description: Link to the Zope Community website, including hundreds of contributed Zope products. Subject: open source; Zope; community http://www.zope.org """