Closed mbrochh closed 11 years ago
I don't believe that this is due to either markitup or django-markitup, but rather to whatever markup-parsing system you are using (which markitup is agnostic to). Are you using markdown? It's default behavior is to strip HTML, but it can be configured otherwise.
Maybe I'm wrong and markitup has added this HTML-tag stripping since I last used it, but I've never seen it.
In any case, closing this issue since it's definitely not something django-markitup is doing.
Yep I am using Markdown. As far as the Markdown specs go I always thought that Markdown allows to insert normal HTML if needed. The markitup editor certainly doesn't allow this. I guess I need to find some markitup expert and ask again. Thanks for your help!
What's relevant is not so much the Markdown spec, as the actual behavior of the Python implementation you are using. If you read here (http://packages.python.org/Markdown/reference.html#markdown) the behavior you describe certainly sounds like python-markdown with the "safe_mode" flag in use (note that [HTML_REMOVED] is python-markdown's default replacement text in that case). So I think it's likely you're chasing the wrong culprit by looking at markitup, and should instead examine the Python code that is translating the markdown to HTML.
Good luck!
hello, I want to how to choose local picture or audio,can you tell me
Same problem...
Sorry for the stupid question and it is probably better suited to be asked at the markitup repo but they don't have an issue tracker...
Is there a way to enter HTML markup into the editor? For example I would like to place a Google Maps iframe, but markitup always replaces all html tags with "MARKUP REMOVED".