fix: do not strip string content when preparing lazy data

This commit is contained in:
debugtalk
2019-12-26 15:41:25 +08:00
parent 8a8d9e53c3
commit aa5689305b
2 changed files with 1 additions and 1 deletions

View File

@@ -776,7 +776,6 @@ def prepare_lazy_data(content, functions_mapping=None, check_variables_set=None,
functions_mapping = functions_mapping or {}
check_variables_set = check_variables_set or set()
content = content.strip()
content = LazyString(content, functions_mapping, check_variables_set, cached)
return content