Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 725a6961 authored by Alexandre Flament's avatar Alexandre Flament Committed by GitHub
Browse files

Merge pull request #2681 from dalf/fix-wikipedia-title

[fix] wikipedia: remove HTML from the title
parents 9bb312c5 fcfcf662
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ def response(resp):
    if api_result.get('type') != 'standard':
        return []

    title = api_result['displaytitle']
    title = api_result['title']
    wikipedia_link = api_result['content_urls']['desktop']['page']

    results.append({'url': wikipedia_link, 'title': title})