Skip to content

feat: allow user to remove some links, replace some links by others

VC requested to merge fix_french_inclusive_writing into master

The idea here is to avoid some errors that might happen when the copied Twitter user has the (bad) habit to use . instead of · when trying to use french inclusive writing. This automatically creates a link on the twitter side, that appears wrong but is not display wrongly.

In order to achieve this, we need to introduce a regex that, when matched, will use the display_url from the original twitter url entity, instead of the expanded_url.

Furthermore, we need to let the user choose whether or not they wish to rewrite the expanded_url to redirect somewhere else when needed (like stated #8 (closed)).

Merge request reports