Skip to content
Permalink
Browse files

Oops, found a bug

  • Loading branch information
ralsina committed May 12, 2017
1 parent 9c87dbe commit 4ccbc6ff5c86fdd9a2181c4b9a7b10a928e011d1
Showing with 3 additions and 0 deletions.
  1. +3 −0 nikola/shortcodes.py
@@ -221,6 +221,9 @@ def extract_shortcodes(data):
shortcodes = {}
splitted = _split_shortcodes(data)

if not data: # Empty
return '', {}

def extract_data_chunk(data):
"""Take a list of splitted shortcodes and return a string and a tail.

0 comments on commit 4ccbc6f

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