J. Ryan Stinnett
|
fa3ace8473
|
Rework message pilling to ignore event permalinks
This removes pills from event permalinks since they hide the text associated
with the link, which can cause nonsensical messages since words have been
removed. In addition, this moves away from fragile regexs to more
straightforward code to parse links and adds a test for this case.
Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/5188
Fixes https://github.com/vector-im/element-web/issues/15159
|
2021-01-27 11:46:20 +00:00 |
|
Travis Ralston
|
ce0a534db1
|
Fix pills for CIDER too
|
2019-09-30 20:37:24 -06:00 |
|
Travis Ralston
|
baf78da791
|
Support spec-level permalink parsing
|
2019-09-30 16:03:24 -06:00 |
|
Travis Ralston
|
f879185aef
|
Move permalink host check into permalink constructors
Without the requirement for a room to work
|
2019-09-30 12:53:45 -06:00 |
|
Travis Ralston
|
926e1146f9
|
Move spec permalinks into their own class
This allows for Riot permalinks to be introduced without if-else ladders everywhere.
|
2019-09-30 12:51:17 -06:00 |
|