mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-20 04:14:23 +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 ->
|
|> Enum.flat_map(fn t ->
|
||||||
Regex.scan(~r|>>(\d+)|, t, capture: :all_but_first)
|
Regex.scan(~r|>>(\d+)|, t, capture: :all_but_first)
|
||||||
|> Enum.map(fn [first] -> String.to_integer(first) end)
|
|> Enum.map(fn [first] -> String.to_integer(first) end)
|
||||||
|
|> Enum.filter(&(&1 < 2147483647))
|
||||||
end)
|
end)
|
||||||
|> load_images()
|
|> load_images()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue