"""
    MoinMoin - HTML Text Parser
 
    Copyright (c) 2001 by Christian Bird <chris.bird@lineo.com>
    All rights reserved, see COPYING for details.
    Changed to run with Version 1.3.1 [Revision patch-434], MatthiasMohr
"""
class Parser:
    """
        Send HTML code raw
    """
 
    def __init__(self, raw, request, **kw):
        self.html = raw
        self.request = request
 
    def format(self, formatter):
        """ Send the "parsed" text.
        """
        #this is pretty easy since converting HTML to HTML is a no-brainer
        self.request.write(self.html)
                                         
