[Glitch] Update twitter-text from 1.14 to 3.1.0 and fix toot character counting

Port 65db262550 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire
2021-03-02 12:02:56 +01:00
parent 7cffe8dca7
commit 7336276252
2 changed files with 29 additions and 195 deletions

View File

@@ -1,6 +1,6 @@
import { urlRegex } from './url_regex';
const urlPlaceholder = 'xxxxxxxxxxxxxxxxxxxxxxx';
const urlPlaceholder = '$2xxxxxxxxxxxxxxxxxxxxxxx';
export function countableText(inputText) {
return inputText