OldHtmlFormatter (from documentation) broken

Issue #269 resolved
Former user created an issue

The example formatter from http://pygments.org/docs/formatterdevelopment/ does not run as it is now:BR start += '<font color="#%s">' % colorBR should beBR start += '<font color="#%s">' % style['color']

Also the tags are not properly nested and HTML from the source is not escaped.

Not really important, but a working example make a better impression ;)

Patch attached.

Reported by guest

Comments (2)

  1. Log in to comment