Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Trim leading/trailing spaces when loading keywords for highlighting (SYN-740) #1575

Open
matrixbot opened this issue Jul 27, 2016 · 1 comment
Labels
O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@matrixbot
Copy link
Member

Right now Vector (at least beta) doesn't allow to use whitespace anywhere in the list of keywords for highlighting (the frontend for pushrules). It would be practical to at least trim leading/trailing spaces for each found keyword. Should be a low-hanging fruit.

(Imported from https://matrix.org/jira/browse/SYN-740)

(Reported by Kitsune Ral)

@matrixbot matrixbot changed the title Trim leading/trailing spaces when loading keywords for highlighting (SYN-740) Trim leading/trailing spaces when loading keywords for highlighting (https://github.com/matrix-org/synapse/issues/1575) Nov 7, 2016
@matrixbot matrixbot changed the title Trim leading/trailing spaces when loading keywords for highlighting (https://github.com/matrix-org/synapse/issues/1575) Trim leading/trailing spaces when loading keywords for highlighting (SYN-740) Nov 7, 2016
@richvdh
Copy link
Member

richvdh commented Aug 11, 2020

four years on: you can still set a keyword rule with leading/trailing space...

@reivilibre reivilibre added S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. O-Uncommon Most users are unlikely to come across this or unexpected workflow labels May 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

3 participants