Permalink
Browse files

Update master

  • Loading branch information...
1 parent 5f95c55 commit 94ab0db949f8e6864164faacf82f9af9ff9e8acc @hsu-yc committed Jun 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/de/jetwick/snacktory/ArticleTextExtractor.java
@@ -534,7 +534,7 @@ public String cleanTitle(String title) {
String cleaned = SHelper.innerTrim(title);
while (true) {
- String[] strs = cleaned.split("\\||( \\- )");
+ String[] strs = cleaned.split("(\\| *)|( \\- )");
StringBuilder res = new StringBuilder();
if (strs.length == 1) break;

0 comments on commit 94ab0db

Please sign in to comment.