ahmadfaizalbh / ahmadfaizalbh/django-oembed

Handle oembed links inside tags

未关闭
#4 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
auto-migrated Priority-Medium Type-Defect
主要语言
Python
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

```
>>> oembed.core.replace("http://www.http://youtube.com/watch?v=qBjLW5_dGAM")
u""

>>> oembed.core.replace("

http://www.youtube.com/watch?v=qBjLW5_dGAM

")
u'

http://www.youtube.com/watch?v=qBjLW5_dGAM

'

`oembed.core.replace` should handle links adjacent to HTML tags or elements
like ` `

Many WYSIWYG editors won't let you insert text that isn't adjacent to one of
these elements.
```

Original issue reported on code.google.com by `sgt.hu...@gmail.com` on 17 Jul 2008 at 5:08

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。