Support Undo like activities (Fix #139)
This commit is contained in:
parent
7831b38705
commit
6f39ecc41b
9 changed files with 124 additions and 10 deletions
|
|
@ -160,7 +160,7 @@ defmodule Pleroma.Formatter do
|
|||
links =
|
||||
Regex.scan(@link_regex, text)
|
||||
|> Enum.map(fn [url] -> {Ecto.UUID.generate(), url} end)
|
||||
|> Enum.sort_by(fn ({_, url}) -> -String.length(url) end)
|
||||
|> Enum.sort_by(fn {_, url} -> -String.length(url) end)
|
||||
|
||||
uuid_text =
|
||||
links
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue