def change_style(self, token, style):

        if token in self.styles:
            style = self.styles[token]
        if self.span_style != style:
            if style != 'Keep':
                if not self.span_style is None:
                    self.output.append('</span>')
                if not style is None:
                    self.output.append('<span style="%s">' % style)
                self.span_style = style
Generate output to change from existing style to another style only.
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/highlight.py/Highlighter.change_style