diff --git a/core/modules/deserializers.js b/core/modules/deserializers.js index 46d060ccb..7a4ce7cc6 100644 --- a/core/modules/deserializers.js +++ b/core/modules/deserializers.js @@ -36,8 +36,8 @@ var parseTiddlerDiv = function(text /* [,fields] */) { } } // Parse the DIV body - var divRegExp = /^\s*]*)>((?:\s|\S)*)<\/div>\s*$/gi, - subDivRegExp = /^\s*
((?:\s|\S)*)<\/pre>\s*$/gi,
+	var divRegExp = /^\s*]*)>([(?:\s|\S)]*)<\/div>\s*$/gi,
+		subDivRegExp = /^\s*
([(?:\s|\S)]*)<\/pre>\s*$/gi,
 		attrRegExp = /\s*([^=\s]+)\s*=\s*"([^"]*)"/gi,
 		match = divRegExp.exec(text);
 	if(match) {