You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debugging my application I realized a partial was being rendered twice, when comparing both backtraces I got:
These lines call node.html twice and it triggers the interpretation of erb partials twice:
# lib/storyblok/richtext/html_renderer.rb
elsif node and node.html # 100 on 0.0.6
html.push(node.html) # 101 on 0.0.6
Suggested fix, changing these to:
elsif node and (node_html = node.html)
html.push(node_html)
The text was updated successfully, but these errors were encountered:
Debugging my application I realized a partial was being rendered twice, when comparing both backtraces I got:
These lines call
node.html
twice and it triggers the interpretation of erb partials twice:Suggested fix, changing these to:
The text was updated successfully, but these errors were encountered: