File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
tests/templates/patterns/atoms/tags_test_atom Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,9 @@ def node_render(context):
7373 context [target_var ] = result
7474 return ""
7575
76- # Render result instead of the tag
77- return result
76+ # Render result instead of the tag, as a string.
77+ # See https://github.com/torchbox/django-pattern-library/issues/166.
78+ return str (result )
7879 elif default_html is not UNSPECIFIED :
7980 # Render provided default;
8081 # if no stub data supplied.
Original file line number Diff line number Diff line change 33 empty_string :
44 raw : ' '
55 none :
6- raw : ' None'
6+ raw : None
77 zero :
8- raw : ' 0 '
8+ raw : 0
99 default_html_tag :
1010 page.url :
1111 raw : " example"
1616 empty_string :
1717 raw : ' '
1818 none :
19- raw : ' None'
19+ raw : None
2020 zero :
21- raw : ' 0'
22-
21+ raw : 0
You can’t perform that action at this time.
0 commit comments