diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-07-15 15:56:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 15:56:58 +0200 |
commit | 211d5c3c300b5a54b60c7b0142158144f9b0d392 (patch) | |
tree | cc2232be6461db04a473a5765b3ec4f826be6d47 /app/views/settings/preferences | |
parent | 3dcf3f2a3a059191668c4edf395e4ad0b19209c5 (diff) |
Fix inefficiencies in auto-linking code (#16506)
The auto-linking code basically rewrote the whole string escaping non-ascii characters in an inefficient way, and building a full character offset map between the unescaped and escaped texts before sending the contents to TwitterText's extractor. Instead of doing that, this commit changes the TwitterText regexps to include valid IRI characters in addition to valid URI characters.
Diffstat (limited to 'app/views/settings/preferences')
0 files changed, 0 insertions, 0 deletions