ahmadfaizalbh / ahmadfaizalbh/django-oembed

HTML should be ignored

Ouverte
#14 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
auto-migrated Priority-Medium Type-Defect
Langage dominant
Python
Étoiles
0
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

```
What steps will reproduce the problem?
1. Have some text with HTML and a YouTube link

What is the expected output? What do you see instead?

A nicely embedded YouTube video. Instead there's some HTML visible.

{% load oembed_tags %}
{% oembed %}
{{ comment.text|linebreaks }}
{% endoembed %}

If you do it like that, it might be that the text fed to oembed ends with
"http://www.youtube.com/watch?v=12345

" and is not handled correctly.
```

Original issue reported on code.google.com by `julian....@gmail.com` on 3 Dec 2009 at 10:01

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.