def __init__(self, out=None, baseurl=''):
    HTMLParser.HTMLParser.__init__(self)
    self.unicode_snob = UNICODE_SNOB
    self.escape_snob = ESCAPE_SNOB
    self.links_each_paragraph = LINKS_EACH_PARAGRAPH
    self.body_width = BODY_WIDTH
    self.skip_internal_links = SKIP_INTERNAL_LINKS
    self.inline_links = INLINE_LINKS
    self.google_list_indent = GOOGLE_LIST_INDENT
    self.ignore_links = IGNORE_ANCHORS
    self.ignore_images = IGNORE_IMAGES
    self.ignore_emphasis = IGNORE_EMPHASIS
    self.google_doc = False
    self.ul_item_mark = '*'
    self.emphasis_mark = '_'
    self.strong_mark = '**'
    if (out is None):
        self.out = self.outtextf
    else:
        self.out = out
    self.outtextlist = []
    try:
        self.outtext = unicode()
    except NameError:
        self.outtext = str()
    self.quiet = 0
    self.p_p = 0
    self.outcount = 0
    self.start = 1
    self.space = 0
    self.a = []
    self.astack = []
    self.maybe_automatic_link = None
    self.absolute_url_matcher = re.compile('^[a-zA-Z+]+://')
    self.acount = 0
    self.list = []
    self.blockquote = 0
    self.pre = 0
    self.startpre = 0
    self.code = False
    self.br_toggle = ''
    self.lastWasNL = 0
    self.lastWasList = False
    self.style = 0
    self.style_def = {}
    self.tag_stack = []
    self.emphasis = 0
    self.drop_white_space = 0
    self.inheader = False
    self.abbr_title = None
    self.abbr_data = None
    self.abbr_list = {}
    self.baseurl = baseurl
    try:
        del unifiable_n[name2cp('nbsp')]
    except KeyError:
        pass
    unifiable['nbsp'] = '&nbsp_place_holder;'
def __init__(self, out=None, baseurl=):
    HTMLParser.HTMLParser.__init__(self)
    self.unicode_snob = UNICODE_SNOB
    self.escape_snob = ESCAPE_SNOB
    self.links_each_paragraph = LINKS_EACH_PARAGRAPH
    self.body_width = BODY_WIDTH
    self.skip_internal_links = SKIP_INTERNAL_LINKS
    self.inline_links = INLINE_LINKS
    self.google_list_indent = GOOGLE_LIST_INDENT
    self.ignore_links = IGNORE_ANCHORS
    self.ignore_images = IGNORE_IMAGES
    self.ignore_emphasis = IGNORE_EMPHASIS
    self.google_doc = False
    self.ul_item_mark = '*'
    self.emphasis_mark = '_'
    self.strong_mark = '**'
    if (out is None):
        self.out = self.outtextf
    else:
        self.out = out
    self.outtextlist = []
    try:
        self.outtext = unicode()
    except NameError:
        self.outtext = str()
    self.quiet = 0
    self.p_p = 0
    self.outcount = 0
    self.start = 1
    self.space = 0
    self.a = []
    self.astack = []
    self.maybe_automatic_link = None
    self.absolute_url_matcher = re.compile('^[a-zA-Z+]+://')
    self.acount = 0
    self.list = []
    self.blockquote = 0
    self.pre = 0
    self.startpre = 0
    self.code = False
    self.br_toggle = 
    self.lastWasNL = 0
    self.lastWasList = False
    self.style = 0
    self.style_def = {}
    self.tag_stack = []
    self.emphasis = 0
    self.drop_white_space = 0
    self.inheader = False
    self.abbr_title = None
    self.abbr_data = None
    self.abbr_list = {}
    self.baseurl = baseurl
    try:
        del unifiable_n[name2cp('nbsp')]
    except KeyError:
        pass
    unifiable['nbsp'] = '&nbsp_place_holder;'