Project

General

Profile

Actions

Feature #10051

open

nbsp isn't remove with trim

Feature #10051: nbsp isn't remove with trim

Added by basvodde (Bas Vodde) over 12 years ago. Updated over 12 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 ""


Related issues 1 (1 open — 0 closed)

Related to Ruby - Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)OpenActions
Actions

Also available in: PDF Atom