Commit graph

8 commits

Author SHA1 Message Date
Floroni
8768a5a546 removed True argument from store() as it raised a 3 arguments given error 2019-03-06 12:22:20 +01:00
Sami Turcotte
639d4a6dec Change div wrapper to a figure wrapper
The reasoning is that the translation of Markdown into HTML should be as
concise as possible. The semantics of the figure element seem to fit the
embedded nature of OEmbed content moreso than the div element which is
quite generic.
2015-04-20 00:42:50 -04:00
Sami Turcotte
f3f09aae98 Wrap oEmbed html output in a div
To keep a constant aspect ratio for the resulting iframe of an oEmbed
request in a responsive website, the iframe needs a div wrapper. With
this change, html results are wrapped in a "oembed" class div.
2015-04-04 03:33:33 -04:00
Sami Turcotte
3adab335ec Add support for python-markdown safe mode
Mark the resulting OEmbed html tags as safe so they don't get stripped
away in safe mode.
2015-04-03 01:22:11 -04:00
J. Tanner Netterville
1a7c62fb93 Fixing tests, still needs work on auto protocol 2014-07-22 17:12:30 -05:00
J. Tanner Netterville
798c9850e6 improve portability 2012-11-14 12:15:41 -06:00
J. Tanner Netterville
2f56c1c11a allow configuring which endpoints to allow 2012-11-13 17:28:04 -06:00
J. Tanner Netterville
e4ec8a72fb initial commit
Functional beta
2012-11-13 15:28:10 -06:00