{% load render_attributes from richtext %}
{% if node.content %}
<p{% render_attributes node.attrs %}>
	{% for item in node.content %}
		{% with template="richtext/"|add:item.type|lower|add:".html" %}{% include template with node=item %}{% endwith %}
	{% endfor %}
</p>
{% endif %}