diff --git a/tests/data/html/blockquote.html b/tests/data/html/blockquote.html index 4119cbf..65bd705 100644 --- a/tests/data/html/blockquote.html +++ b/tests/data/html/blockquote.html @@ -1 +1 @@ -
\ No newline at end of file +This is a blockquote
\ No newline at end of file diff --git a/tests/data/html/ordered_list.html b/tests/data/html/ordered_list.html index af4a6d7..528c327 100644 --- a/tests/data/html/ordered_list.html +++ b/tests/data/html/ordered_list.html @@ -1 +1 @@ -This is a blockquote
One
Two
Three
One
Two
Three
One
Two
Three
One
Two
Three
+{%- for item in node.content -%} {%- with template=item.type + '.html', node=item -%} {%- include template -%} diff --git a/tiptapy/templates/orderedList.html b/tiptapy/templates/orderedList.html index 4e508c5..1e08f40 100644 --- a/tiptapy/templates/orderedList.html +++ b/tiptapy/templates/orderedList.html @@ -1,7 +1,7 @@ {%- if node.attrs.start -%} -+
{%- else -%} -
+
{%- endif -%} {%- for item in node.content -%} {%- with template=item.type + '.html', node=item -%} diff --git a/tiptapy/templates/ordered_list.html b/tiptapy/templates/ordered_list.html index 4e508c5..1e08f40 100644 --- a/tiptapy/templates/ordered_list.html +++ b/tiptapy/templates/ordered_list.html @@ -1,7 +1,7 @@ {%- if node.attrs.start -%} -
+
{%- else -%} -
+
{%- endif -%} {%- for item in node.content -%} {%- with template=item.type + '.html', node=item -%}