Fixed Invoice Link to be HTML safe

This commit is contained in:
2018-10-15 21:07:36 -04:00
parent 15b214c800
commit 02d630c631

View File

@@ -32,6 +32,7 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener
issue.qbo_invoice_ids.each do |i|
invoice = QboInvoice.find i
invoice_link = invoice_link + link_to( invoice.doc_number, "#{Redmine::Utils::relative_url_root}/qbo/invoice/#{i}", :target => "_blank").to_s + " "
invoice_link = invoice_link.html_safe
end
end