Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
5804 Näkymät

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

Avatar
Hylkää
Tekijä Paras vastaus

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)

Avatar
Hylkää
Paras vastaus

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?


Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
8
syysk. 15
8337
1
heinäk. 23
5486
3
toukok. 15
5003
2
maalisk. 15
13403
3
maalisk. 15
9532