worldcompany/djangoembed — Issue #28: Allow stripping "a" tags
Author: shagi
Created: 2012-02-06 09:07:39+00:00
State: open

Currently it's very difficult (if not impossible) to use djangoembed with
any markup format. I'm using restructured text, with the same goes for
textile, markdown, etc.

The big problem is that in markup rich text all links are enclosed in a "a"
element, so djangoembed never changes those links.

It would be great if I could set ```OEMBED_STRIP_LINKS=True``` or something
like that in django settings.

I have played a bit with the code and could send a patch or pull request
for this, but I'm not very confident with my proposal. Maybe there's a
better way to get this working?