diff options
author | Georg Brandl <georg@python.org> | 2012-03-10 22:10:37 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-03-10 22:10:37 +0100 |
commit | 8cd55a40d46cbbf636eb426af8db5fe9b7aaf324 (patch) | |
tree | 727d8d54e8d5c327e93c0e5f1cc2eb6b5b9e8461 /docs/generate.py | |
parent | 85fc9c058f9b4db6211b6c69f33814ac8531890e (diff) | |
download | pygments-8cd55a40d46cbbf636eb426af8db5fe9b7aaf324.tar.gz |
Fix doc build with underscores in filename patterns.1.5
Diffstat (limited to 'docs/generate.py')
-rwxr-xr-x[-rw-r--r--] | docs/generate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/generate.py b/docs/generate.py index 4842dc6e..0ceeb58d 100644..100755 --- a/docs/generate.py +++ b/docs/generate.py @@ -56,7 +56,7 @@ def generate_lexer_docs(): classname, cls.__doc__, ', '.join(data[2]) or 'None', - ', '.join(data[3]).replace('*', '\\*') or 'None', + ', '.join(data[3]).replace('*', '\\*').replace('_', '\\') or 'None', ', '.join(data[4]) or 'None')) if module not in moduledocstrings: moduledocstrings[module] = mod.__doc__ |