mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-31 23:26: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);
|
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…
Reference in New Issue
Block a user