Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5782 มุมมอง

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

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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)

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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?


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
8
ก.ย. 15
8312
error in outgoing email [SOLVED] แก้ไขแล้ว
1
ก.ค. 23
5442
3
พ.ค. 15
4980
2
มี.ค. 15
13376
3
มี.ค. 15
9516