Downcase tags coming in through the TwAPI.
This commit is contained in:
parent
5ff4a5eee3
commit
6cac8e3c8b
2 changed files with 3 additions and 3 deletions
|
|
@ -16,9 +16,9 @@ defmodule Pleroma.FormatterTest do
|
|||
|
||||
describe ".parse_tags" do
|
||||
test "parses tags in the text" do
|
||||
text = "Here's a #test. Maybe these are #working or not. What about #漢字? And #は。"
|
||||
text = "Here's a #Test. Maybe these are #working or not. What about #漢字? And #は。"
|
||||
expected = [
|
||||
{"#test", "test"},
|
||||
{"#Test", "test"},
|
||||
{"#working", "working"},
|
||||
{"#漢字", "漢字"},
|
||||
{"#は", "は"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue