zulip/zerver/lib/bugdown
Brock Whittaker 77233c7e3b bugdown: Distinguish between YouTube Videos and Image Previews.
This distinguishes between YouTube Videos and Image Previews by adding
a particular “youtube-video” class to the preview along with changing
the title to the video ID rather than the link. This serves to allow
the lightbox to ID when a lightbox preview should be treated like a
YouTube video rather than an image preview.

This also modifies the tests in bug down to expect a youtube-video class
along with the title to just be the video ID on YouTube rather than the
entire URL link.
2016-10-18 14:45:47 -07:00
..
__init__.py bugdown: Distinguish between YouTube Videos and Image Previews. 2016-10-18 14:45:47 -07:00
fenced_code.py Bugdown: Remove checked-in CodeHilite extension. 2016-10-16 00:40:08 -07:00
testing_mocks.py Fix twitter mock data. 2016-07-17 10:23:25 -07:00
tlds-alpha-by-domain.txt [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00