mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
fix ecto brain damage
This commit is contained in:
parent
fd5116187b
commit
09db15b29b
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ defmodule PhilomenaWeb.TextileRenderer do
|
|||
|> Enum.flat_map(fn t ->
|
||||
Regex.scan(~r|>>(\d+)|, t, capture: :all_but_first)
|
||||
|> Enum.map(fn [first] -> String.to_integer(first) end)
|
||||
|> Enum.filter(&(&1 < 2147483647))
|
||||
end)
|
||||
|> load_images()
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue