diff options
| author | lain <lain@soykaf.club> | 2019-11-29 10:10:30 +0000 | 
|---|---|---|
| committer | lain <lain@soykaf.club> | 2019-11-29 10:10:30 +0000 | 
| commit | a990374e80ece3d28ae23f603bd5e301886e6a0c (patch) | |
| tree | 4a9eaf861935640a85daac7d25d7e2d1976be788 /lib | |
| parent | d7b40dd4ba5bf3890be8a8b69d5aff84f5ffc5d2 (diff) | |
| parent | a98cda77580ead154dd2cb020c6d4ebc1e719d86 (diff) | |
| download | pleroma-a990374e80ece3d28ae23f603bd5e301886e6a0c.tar.gz pleroma-a990374e80ece3d28ae23f603bd5e301886e6a0c.zip | |
Merge branch 'fix/extract_first_external_url' into 'develop'
Fix Pleroma.HTML.extract_first_external_url/2
Closes #1451
See merge request pleroma/pleroma!2024
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/pleroma/html.ex | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/lib/pleroma/html.ex b/lib/pleroma/html.ex index 997e965f0..4acd46253 100644 --- a/lib/pleroma/html.ex +++ b/lib/pleroma/html.ex @@ -91,6 +91,7 @@ defmodule Pleroma.HTML do      Cachex.fetch!(:scrubber_cache, key, fn _key ->        result =          content +        |> HtmlEntities.decode()          |> Floki.filter_out("a.mention,a.hashtag,a[rel~=\"tag\"]")          |> Floki.attribute("a", "href")          |> Enum.at(0) | 
