[sysadmin-bin: 151/168] Remove white space mangling
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin: 151/168] Remove white space mangling
- Date: Thu, 24 May 2012 20:04:08 +0000 (UTC)
commit 752b16e5fa6c1b50da9f96e2ced2331bd73f69b4
Author: Olav Vitters <olav vitters nl>
Date: Sat Mar 26 12:57:30 2011 +0100
Remove white space mangling
Seems to be allowed as per http://www.w3.org/TR/REC-xml/#sec-white-space
semi_rdf.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/semi_rdf.py b/semi_rdf.py
index 513cf5d..72bb920 100755
--- a/semi_rdf.py
+++ b/semi_rdf.py
@@ -135,7 +135,6 @@ class RdfHandler(xml.sax.handler.ContentHandler):
obj = self.__object
if isinstance(obj, basestring):
obj = obj.strip()
- obj = WHITESPACE_RE.sub(" ", obj)
else:
obj = resource
self.__object = None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]