mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
Remove force_text() in get_url_data().
This commit is contained in:
@@ -643,7 +643,7 @@ class InlineInterestingLinkProcessor(markdown.treeprocessors.Treeprocessor):
|
||||
# type: (Element) -> Optional[Tuple[Text, Text]]
|
||||
if e.tag == "a":
|
||||
if e.text is not None:
|
||||
return (e.get("href"), force_text(e.text))
|
||||
return (e.get("href"), e.text)
|
||||
return (e.get("href"), e.get("href"))
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user