Remove white spaces only from both ends of `:not()`

Removing all white spaces from `:not()` is wrong. This should be trimmed only.

This fixes #41.