Skip to content

Commit

Permalink
Merge pull request #10 from otovo/sourcery/klette/custom-serializers
Browse files Browse the repository at this point in the history
Initial stab at custom serializer and marker def support (Sourcery refactored)
  • Loading branch information
klette authored Apr 17, 2021
2 parents 4583419 + 5eeaad5 commit 7bc5601
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sanity_html/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ def render(self) -> str:

if list_nodes:
tree = self._normalize_list_tree(list_nodes, Block(**node))
result += ''.join([self._render_node(n, Block(**node), list_item=True) for n in tree])
result += ''.join(
self._render_node(n, Block(**node), list_item=True) for n in tree
)


result = result.strip()

Expand Down

0 comments on commit 7bc5601

Please sign in to comment.