Browse Source

Issue #17: Wrapped <figure></figure> in a div to appease markdown

main
Lakshmi Vyasarajan 13 years ago
parent
commit
0757d2a58f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hyde/ext/templates/jinja.py

+ 1
- 1
hyde/ext/templates/jinja.py View File

@@ -142,7 +142,7 @@ def syntax(env, value, lexer=None, filename=None):
if not getattr(env.config.syntax, 'use_figure', True): if not getattr(env.config.syntax, 'use_figure', True):
return Markup(code) return Markup(code)
return Markup( return Markup(
'<figure class="code">%s<figcaption>%s</figcaption></figure>\n\n'
'<div class="codebox"><figure class="code">%s<figcaption>%s</figcaption></figure></div>\n\n'
% (code, caption)) % (code, caption))


class Spaceless(Extension): class Spaceless(Extension):


Loading…
Cancel
Save