mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-04-24 22:32:28 -07:00
Further fix to whitespace handling in $tw.utils.stringifyList
Fixes typo in3d0ec5b1bdSee3d0ec5b1bd (commitcomment-97804850)
This commit is contained in:
parent
3d0ec5b1bd
commit
4e5c957e97
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue