Project

General

Profile

Actions

Feature #10051

open

nbsp isn't remove with trim

Added by basvodde (Bas Vodde) almost 10 years ago. Updated almost 10 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:63787]

Description

When I have a nbsp character in a string and call strip on it, it will not remove it even though is would could as a whitespace.

E.g.

Nokogiri.HTML(" ").text.strip

results in " " and should result in ""

Actions

Also available in: Atom PDF

Like0
Like0