Skip to content

Commit

Permalink
Matching commit getnikola/nikola@0a904e0.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Jan 8, 2017
1 parent 339ae5e commit 3865d8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions v7/static_comments/static_comments.py
Expand Up @@ -89,6 +89,9 @@ def _compile_content(self, compiler_name, content, filename):
_LOGGER.error("Restructured text page compiler ({0}) failed to compile comment {1}!".format(compiler_name, filename))
exit(1)
return content
elif compiler_name == 'markdown':
content, deps = compiler.compile_string(content)
return content
else:
try:
return compiler.compile_to_string(content) # This is a non-standard function! May not be available with any page compiler!
Expand Down

0 comments on commit 3865d8e

Please sign in to comment.