User: Add raw_bio, storing unformatted bio
[akkoma] / lib / pleroma / web / mastodon_api / controllers / search_controller.ex
index 23fe378a64714f6304a94f69d6d6bc3cfca09350..8840fc19ce790d7c11695035705f11c037687465 100644 (file)
@@ -124,7 +124,7 @@ defmodule Pleroma.Web.MastodonAPI.SearchController do
   defp prepare_tags(query, add_joined_tag \\ true) do
     tags =
       query
-      |> String.split(~r/[^#\w]+/, trim: true)
+      |> String.split(~r/[^#\w]+/u, trim: true)
       |> Enum.uniq_by(&String.downcase/1)
 
     explicit_tags = Enum.filter(tags, fn tag -> String.starts_with?(tag, "#") end)