fix ecto brain damage

This commit is contained in:
byte[] 2020-05-20 01:13:28 -04:00
parent fd5116187b
commit 09db15b29b

View file

@ -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