Skip to content

Custom filter table: Empty lines can be pasted

Reproduction & observed behaviour

Copy and paste the following into the custom filters table

##foo1

##foo2

Observe that empty line got pasted as the empty row in the custom filters table. It disappears when the options page is reloaded.

empty-line

Expected

Empty lines should not get pasted in the custom filters table when pasting multiple filters.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information