Skip to content

Commit

Permalink
compile_string didn't return a tuple with shortcode dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Jun 15, 2017
1 parent 9ea0962 commit d9d5e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/compile/php.py
Expand Up @@ -52,7 +52,7 @@ def compile(self, source, dest, is_two_file=True, post=None, lang=None):

def compile_string(self, data, source_path=None, is_two_file=True, post=None, lang=None):
"""Compile PHP into HTML strings."""
return data
return data, []

def create_post(self, path, **kw):
"""Create a new post."""
Expand Down

0 comments on commit d9d5e48

Please sign in to comment.