diff --git a/st3/mdpopups/st_code_highlight.py b/st3/mdpopups/st_code_highlight.py index 62a67b5..f2e2b6e 100755 --- a/st3/mdpopups/st_code_highlight.py +++ b/st3/mdpopups/st_code_highlight.py @@ -30,6 +30,7 @@ INLINE_BODY_START = '' BODY_START = '
'
 LINE = '%(code)s
' +INLINE_LINE = '%(code)s' CODE = '%(content)s' CODEBG = '%(content)s' BODY_END = '
\n' @@ -75,7 +76,7 @@ def setup_print_block(self, curr_sel, multi=False): def print_line(self, line, num): """Print the line.""" - html_line = LINE % { + html_line = (INLINE_LINE if self else LINE) % { "code": line, }