Updated Branches:
  refs/heads/master 80378f14a -> 4535919bc

revert replace all pattern which introduced a bug and broke tests


Project: http://git-wip-us.apache.org/repos/asf/any23/repo
Commit: http://git-wip-us.apache.org/repos/asf/any23/commit/4535919b
Tree: http://git-wip-us.apache.org/repos/asf/any23/tree/4535919b
Diff: http://git-wip-us.apache.org/repos/asf/any23/diff/4535919b

Branch: refs/heads/master
Commit: 4535919bc118b71efa41b5cb2f4085832fcf07f3
Parents: 80378f1
Author: lewismc <[email protected]>
Authored: Tue Jul 23 12:12:00 2013 -0700
Committer: lewismc <[email protected]>
Committed: Tue Jul 23 12:12:00 2013 -0700

----------------------------------------------------------------------
 .../org/apache/any23/extractor/microdata/MicrodataParser.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/any23/blob/4535919b/core/src/main/java/org/apache/any23/extractor/microdata/MicrodataParser.java
----------------------------------------------------------------------
diff --git 
a/core/src/main/java/org/apache/any23/extractor/microdata/MicrodataParser.java 
b/core/src/main/java/org/apache/any23/extractor/microdata/MicrodataParser.java
index 2b7af59..42f5f89 100644
--- 
a/core/src/main/java/org/apache/any23/extractor/microdata/MicrodataParser.java
+++ 
b/core/src/main/java/org/apache/any23/extractor/microdata/MicrodataParser.java
@@ -339,7 +339,7 @@ public class MicrodataParser {
             return new ItemPropValue( getItemScope(node), 
ItemPropValue.Type.Nested );
         }
 
-        final ItemPropValue newItemPropValue = new ItemPropValue( 
node.getTextContent().replaceAll("\\s",""), ItemPropValue.Type.Plain);
+        final ItemPropValue newItemPropValue = new ItemPropValue( 
node.getTextContent(), ItemPropValue.Type.Plain);
         itemPropValues.put(node, newItemPropValue);
         return newItemPropValue;
     }
@@ -514,4 +514,4 @@ public class MicrodataParser {
         errors.add(mpe);
     }
 
-}
\ No newline at end of file
+}

Reply via email to