'CSS doesn\'t have the ability to set the glyph
to a particular character, so we just go through
the available glyphs'

def s_text_list_level_style_bullet(self, tag, attrs):

    name = self.tagstack.rfindattr((STYLENS, 'name'))
    level = attrs[(TEXTNS, 'level')]
    self.prevstyle = self.currentstyle
    list_class = ('%s_%s' % (name, level))
    self.listtypes[list_class] = 'ul'
    self.currentstyle = ('.%s_%s' % (name.replace('.', '_'), level))
    self.stylestack.append(self.currentstyle)
    self.styledict[self.currentstyle] = {}
    level = int(level)
    listtype = ('square', 'disc', 'circle')[(level % 3)]
    self.styledict[self.currentstyle][('', 'list-style-type')] = listtype
