changeset 5399:ffaec355ee84

highlight parser: added missing support for console/bash session
author Pascal Volk <user@localhost.localdomain.org>
date Mon, 28 Dec 2009 14:53:08 +0000
parents 66e4e61300dc
children b7ab238032dd
files MoinMoin/parser/highlight.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/highlight.py	Fri Dec 25 20:20:02 2009 +0100
+++ b/MoinMoin/parser/highlight.py	Mon Dec 28 14:53:08 2009 +0000
@@ -76,6 +76,10 @@
             return 'DiffRemoved'
         elif ttype in Token.Generic.Strong:
             return 'DiffChanged'
+        elif ttype in Token.Generic.Output:
+            return 'LineNumber'
+        elif ttype in Token.Generic.Prompt:
+            return 'ID'
         else:
             # skip tags that have no class defined
             return None