Skip to content
Permalink
Browse files

Improved wording.

  • Loading branch information
felixfontein committed Dec 28, 2015
1 parent 52c64ec commit 93f464f36aa45bdd028efd21f278560ad50e2d85
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/shortcodes.py
@@ -162,7 +162,7 @@ def _parse_string(data, start, stop_at_equals=False, must_have_content=False):
end, value = _parse_unquoted_string(data, start, stop_at_equals)
has_content = len(value) > 0
if must_have_content and not has_content:
raise ParsingError("String starting at {0} must have non-trivial length!".format(_format_position(data, start)))
raise ParsingError("String starting at {0} must be non-empty!".format(_format_position(data, start)))

next_is_equals = False
if stop_at_equals and end + 1 < len(data):

0 comments on commit 93f464f

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