Skip to content

Commit f051146

Browse files
shaileshmishrashaileshmishra
authored andcommitted
initial push
1 parent cddd519 commit f051146

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contentstack/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,11 @@ def render_content(rte_array, embed_obj: dict,
111111
if isinstance(rte_array, str):
112112
# convert to html
113113
html, metadata = Utils.get_embedded_objects(rte_array)
114-
return None
114+
return html, metadata
115115
elif isinstance(rte_array, list):
116116
for rte in rte_array:
117-
return None
117+
html, metadata = Utils.get_embedded_objects(rte_array)
118+
return html, metadata
118119
return None
119120

120121
@staticmethod

0 commit comments

Comments
 (0)