From 24dc07e399e98fdd76a6e24e2ba7c438133bb09f Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 8 Nov 2023 13:53:03 +0800 Subject: [PATCH] Update paragraph node template --- templates/paragraph.html.erb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/templates/paragraph.html.erb b/templates/paragraph.html.erb index e548e55..254c08a 100644 --- a/templates/paragraph.html.erb +++ b/templates/paragraph.html.erb @@ -1,6 +1,4 @@ - <% if role %>class="<%= role %>"<% end %>><% -if title? %> -
<%= title %>
<% -end %> -<%= content %> + <% if role %>class="<%= role %>"<% end %>> + <% if title? %>
<%= title %>
<% end %> + <%= content %>