Can't save model with href tag in Django admin

111 views Asked by At

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?

1

There are 1 answers

0
Paulquappe On BEST ANSWER
<span><a href="foo" target="_blank" style="yourstyle">Facebook</a></span>