mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-07-07 20:42:50 +00:00
Further fix to whitespace handling in $tw.utils.stringifyList
Fixes typo in 3d0ec5b1bdc157f87d65b8c9b76e681c14337eb4
See 3d0ec5b1bd (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);
|
var result = new Array(value.length);
|
||||||
for(var t=0, l=value.length; t<l; t++) {
|
for(var t=0, l=value.length; t<l; t++) {
|
||||||
var entry = value[t] || "";
|
var entry = value[t] || "";
|
||||||
if(entry.match(/[\s\xA0]/mg)) {
|
if(entry.match(/[^\S\xA0]/mg)) {
|
||||||
result[t] = "[[" + entry + "]]";
|
result[t] = "[[" + entry + "]]";
|
||||||
} else {
|
} else {
|
||||||
result[t] = entry;
|
result[t] = entry;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user