Skip to content
Permalink
Browse files

Matching commit getnikola/nikola@0a904e0.

  • Loading branch information
felixfontein committed Jan 8, 2017
1 parent 339ae5e commit 3865d8e31a30f8d03bdd11111cc96eabc4e3f676
Showing with 3 additions and 0 deletions.
  1. +3 −0 v7/static_comments/static_comments.py
@@ -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!

0 comments on commit 3865d8e

Please sign in to comment.
You can’t perform that action at this time.