--- xml_format.inc
+++ xml_format.inc	(working copy)
@@ -111,7 +111,7 @@
         }
       }
       else {
-        @$_tx_terms[$_tx_term][$_tx_tag] .= trim($data);
+        @$_tx_terms[$_tx_term][$_tx_tag] .= trim($data, "\t\n\r\0\x0B"); // Trim all whitespace characters except normal space
       }
       break;
     default:
