From c2fd8289c3603affab162015c5a0efeb81dc36f1 Mon Sep 17 00:00:00 2001 From: Byron Mulvogue Date: Fri, 24 Jul 2020 13:03:20 +0000 Subject: [PATCH] Revert "mix format" This reverts commit c7291b8117c57c92630b605a008f44035488272f. --- lib/philomena/tags/tag.ex | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/philomena/tags/tag.ex b/lib/philomena/tags/tag.ex index 8c2fba2c..a3a0d475 100644 --- a/lib/philomena/tags/tag.ex +++ b/lib/philomena/tags/tag.ex @@ -169,10 +169,7 @@ defmodule Philomena.Tags.Tag do # with ascii quotes, trim space from end name |> String.downcase() - |> String.replace( - ~r/[[:space:]\x{00a0}\x{1680}\x{180e}\x{2000}-\x{200f}\x{202f}\x{205f}\x{3000}\x{feff}]+/u, - " " - ) + |> String.replace(~r/[[:space:]\x{00a0}\x{1680}\x{180e}\x{2000}-\x{200f}\x{202f}\x{205f}\x{3000}\x{feff}]+/u, " ") |> String.replace(~r/[\x{00b4}\x{2018}\x{2019}\x{201a}\x{201b}\x{2032}]/u, "'") |> String.replace(~r/[\x{201c}\x{201d}\x{201e}\x{201f}\x{2033}]/u, "\"") |> String.trim()