mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Fixed Invoice Link to be HTML safe
This commit is contained in:
1 parent
15b214c800
commit
02d630c631
1 file changed
+1
@@ -32,6 +32,7 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener
|
|||||||
issue.qbo_invoice_ids.each do |i|
|
issue.qbo_invoice_ids.each do |i|
|
||||||
invoice = QboInvoice.find 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 + 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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user