Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5750 Lượt xem

Hi,

when I send a PO per email (using the template provided), all A HREF tags get "sanitized" rendering the result not in a link, but visible HTML markup. Is there a way to insert HTML links (A tags) in a safe way or turn off sanitizing?

regards, Tilli

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Hi Michael, what I did was remove the A tags, as the mail clients usually auto-link email addresses and websites anyways. I tried locating the sanitizing code but python sure is a shitty language to debug :) (at least the way it's used in odoo)

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I have exactly the same problem - trying to add a credit card payment link through the link designer - which works, but every & in the link is changed to & which renders the link unusable.

Tilfried have you found a solution for this or posted a ticket somewhere?

 

--> Is there a way to exclude A-tags from being sanitized?

--> OR is there a way to disable sanitizing at all?


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
8
thg 9 15
8294
1
thg 7 23
5374
3
thg 5 15
4954
2
thg 3 15
13338
3
thg 3 15
9480