Skip to content

Filter list view - ugly/messy line breaking/wrapping at minus sign char #292

@kulfoon

Description

@kulfoon

Prerequisites

  • I verified that this is not a filter issue
  • This is not a support issue or a question
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
  • I tried to reproduce the issue when...
    • uBlock Origin is the only extension
    • uBlock Origin with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uBlock Origin
  • I checked the documentation to understand that the issue I report is not a normal behavior

Description

Filterlist's view's formatting's line-breaking at minus sign char -

A specific URL where the issue occurs

moz-extension://092cfadd-d560-4e1a-a80f-ddade5053c9f/asset-viewer.html?url=easylist
moz-extension://092cfadd-d560-4e1a-a80f-ddade5053c9f/dashboard.html#1p-filters.html

Steps to Reproduce

  1. Go to 3rd Party filters pane in uBO
  2. Click at any filter list so it gets opened in a new tab (eg. EasyList)
  3. Scroll down the filter list to any very long filter (eg. multiple domains, eg line 53508 or around in EasyList)

Expected behavior:

Don't break/wrap lines at - (is there any reason to do so?)

Actual behavior:

Notice how ugly/messy the filter looks when line-braked/wrapped at every -, for ex. every domain like happy-foxie.com gets splitted into 2 separate sibling lines:
happy-
foxie.com

Screenshoot

ss1

Your environment

  • uBlock Origin version: 1.17.2
  • Browser Name and version: Any (in my case Firefox 63.0 64bit / Opera 56 64bit)
  • Operating System and version: Windows 7 SP1 64bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfixedissue has been addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions