mirror of https://github.com/zulip/zulip.git
test_bugdown: Fix test for Twitter emoji.
Our work on the Twitter emoji added a new instance of our emoji syntax
between when we wrote 2d92f9dc0b
and
rebase+merged it.
This commit is contained in:
parent
2e74dbf2d9
commit
c9b2ef82c9
|
@ -396,7 +396,7 @@ class BugdownTest(ZulipTestCase):
|
|||
media_tweet_html = ('<a href="http://t.co/xo7pAhK6n3" target="_blank" title="http://t.co/xo7pAhK6n3">'
|
||||
'http://twitter.com/NEVNBoston/status/421654515616849920/photo/1</a>')
|
||||
|
||||
emoji_in_tweet_html = """Zulip is <img alt=":hundred_points:" class="emoji" src="/static/generated/emoji/images/emoji/unicode/1f4af.png" title=":hundred_points:">% open-source!"""
|
||||
emoji_in_tweet_html = """Zulip is <img alt=":hundred_points:" class="emoji" src="/static/generated/emoji/images/emoji/unicode/1f4af.png" title="hundred points">% open-source!"""
|
||||
|
||||
def make_inline_twitter_preview(url, tweet_html, image_html=''):
|
||||
# type: (Text, Text, Text) -> Text
|
||||
|
|
Loading…
Reference in New Issue