This commit is contained in:
byte[] 2021-03-06 22:36:28 -05:00
parent 26f280a3d2
commit 9fa1734239

View file

@ -53,7 +53,7 @@ defmodule PhilomenaWeb.TextileRenderer do
|> String.replace("--", "—") |> String.replace("--", "—")
|> String.replace("...", "…") |> String.replace("...", "…")
|> String.replace(~r|(\s)-(\s)|, "\\1—\\2") |> String.replace(~r|(\s)-(\s)|, "\\1—\\2")
|> String.replace("(tm)", "&tm;") |> String.replace("(tm)", "™")
|> String.replace("(c)", "©") |> String.replace("(c)", "©")
|> String.replace("(r)", "®") |> String.replace("(r)", "®")
|> String.replace("'", "’") |> String.replace("'", "’")