mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-31 15:16:18 +00:00
Further fix to whitespace handling in $tw.utils.stringifyList
Fixes typo in3d0ec5b1bd
See3d0ec5b1bd (commitcomment-97804850)
This commit is contained in:
parent
3d0ec5b1bd
commit
4e5c957e97
@ -375,7 +375,7 @@ $tw.utils.stringifyList = function(value) {
|
||||
var result = new Array(value.length);
|
||||
for(var t=0, l=value.length; t<l; t++) {
|
||||
var entry = value[t] || "";
|
||||
if(entry.match(/[\s\xA0]/mg)) {
|
||||
if(entry.match(/[^\S\xA0]/mg)) {
|
||||
result[t] = "[[" + entry + "]]";
|
||||
} else {
|
||||
result[t] = entry;
|
||||
|
Loading…
Reference in New Issue
Block a user