Show More
@@ -44,7 +44,8 b' SYNTAX_CSS = (\'\\n<link rel="stylesheet" ' | |||
|
44 | 44 | def pygmentize(field, fctx, style, tmpl, guessfilenameonly=False): |
|
45 | 45 | |
|
46 | 46 | # append a <link ...> to the syntax highlighting css |
|
47 |
|
|
|
47 | tmpl.load('header') | |
|
48 | old_header = tmpl.cache['header'] | |
|
48 | 49 | if SYNTAX_CSS not in old_header: |
|
49 | 50 | new_header = old_header + SYNTAX_CSS |
|
50 | 51 | tmpl.cache['header'] = new_header |
General Comments 0
You need to be logged in to leave comments.
Login now