FIX: rendering %lt;/div noscript in header

This commit is contained in:
Sam 2017-12-08 10:30:00 +11:00
parent 0693ed10d1
commit cff9b8846d

View File

@ -357,7 +357,12 @@ module ApplicationHelper
# If there is plugin HTML return that, otherwise yield to the template
def replace_plugin_html(name)
build_plugin_html(name).presence || yield
if (html = build_plugin_html(name)).present?
html
else
yield
nil
end
end
def theme_lookup(name)