cubicweb/misc/source_highlight.py
changeset 12758 db95a417a5ec
parent 12757 e55f6f6a8d28
child 12769 a61e0fe17a69
--- a/cubicweb/misc/source_highlight.py	Thu Oct 24 06:34:42 2019 +0200
+++ b/cubicweb/misc/source_highlight.py	Wed Nov 06 14:43:49 2019 +0100
@@ -12,7 +12,7 @@
     has_pygments = False
 
 
-def highlight(code, language):
+def highlight_terminal(code, language):
     if not has_pygments:
         return code