<span><a href="foo" target="_blank" style="yourstyle">Facebook</a></span>
Can't save model with href tag in Django admin
-
02-09-2022 - |
Question
I am using mezzanine
cms which uses django-tinymce
to provide RichTextField
, I put the link like this using both link and html editor:
<p><a href=""www.faceook.com">Facebook</a></p>
When I save it, it automatically turns into:
<p><a>Facebook</a></p>
href
is gone just like that. what's wrong?
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow