app/components/alchemy/ingredients/link_view.rb in alchemy_cms-7.0.11 vs app/components/alchemy/ingredients/link_view.rb in alchemy_cms-7.0.12
- old
+ new
@@ -10,10 +10,10 @@
super(ingredient, html_options: html_options)
@link_text = settings_value(:text, value: text, default: value)
end
def call
- link_to(link_text, value, {target: link_target}.merge(html_options))
+ link_to(link_text, value, {target: link_target}.merge(html_options)).html_safe
end
private
def link_target