summaryrefslogtreecommitdiff
path: root/src/Readability.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Readability.php')
-rw-r--r--src/Readability.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Readability.php b/src/Readability.php
index 25b79a2..0d9498e 100644
--- a/src/Readability.php
+++ b/src/Readability.php
@@ -569,7 +569,7 @@ class Readability
}
}
- $curTitle = trim($curTitle);
+ $curTitle = preg_replace(NodeUtility::$regexps['normalize'], ' ', trim($curTitle));
/*
* If we now have 4 words or fewer as our title, and either no