Commit graph

23 commits

Author SHA1 Message Date
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
0e3aaac58c version bump 2015-04-04 03:34:33 -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
7f12354970 Version bump 2015-04-03 01:51:34 -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
Sami Turcotte
4a7f2a4d46 Version bump 2015-04-02 03:48:18 -04:00
Sami Turcotte
c3a4466eca Reconcile with Markdown 2.6
Updated the initialization of OEmbedExtension to be compatible with
Markdown 2.6. See https://pythonhosted.org/Markdown/release-2.6.html
2015-04-02 03:47:33 -04:00
J. Tanner Netterville
469e696a95 remove silly import from setup.py 2014-07-23 16:02:57 -05:00
J. Tanner Netterville
001db644a5 minor update version and setup.py 2014-07-22 17:20:21 -05:00
J. Tanner Netterville
1a7c62fb93 Fixing tests, still needs work on auto protocol 2014-07-22 17:12:30 -05:00
J. Tanner Netterville
3b29ca3252 version bump 2014-07-22 16:00:58 -05:00
J. Tanner Netterville
8da615da30 Merge branch 'master' of github.com:rennat/python-markdown-oembed 2014-07-22 15:55:00 -05:00
Tanner Netterville
d9ce404446 Merge pull request #1 from JordanReiter/patch-1
Update endpoints.py
2014-07-22 15:53:46 -05:00
Jordan Reiter
4b05b076be Update endpoints.py
Many websites are using https, often by default. This allows https links to be recognized as well.
2014-07-14 15:44:36 -04:00
J. Tanner Netterville
0b2b234fb5 updated tests 2013-10-21 17:37:56 -05:00
J. Tanner Netterville
632279ec9f bump version 2012-11-14 14:05:40 -06: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
685bfd4ba7 added license and manifest template, bumped alpha version 2012-11-13 16:55:47 -06:00
J. Tanner Netterville
d9543dbffb remove long description from setup file 2012-11-13 16:35:53 -06:00
J. Tanner Netterville
9e979fbb81 updated setup.py and added manifest for readme and license file 2012-11-13 16:33:36 -06:00
J. Tanner Netterville
905980d527 updated readme and setup.py 2012-11-13 15:37:35 -06:00
J. Tanner Netterville
e4ec8a72fb initial commit
Functional beta
2012-11-13 15:28:10 -06:00