mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-05-30 13:14:07 +00:00
Allow widget names to include digits
This commit is contained in:
parent
8c73d8db4b
commit
f1a7e433ab
@ -319,7 +319,7 @@ exports.parseTag = function(source,pos,options) {
|
|||||||
attributes: {}
|
attributes: {}
|
||||||
};
|
};
|
||||||
// Define our regexps
|
// Define our regexps
|
||||||
var reTagName = /([a-zA-Z\-\$]+)/g;
|
var reTagName = /([a-zA-Z0-9\-\$]+)/g;
|
||||||
// Skip whitespace
|
// Skip whitespace
|
||||||
pos = this.skipWhiteSpace(source,pos);
|
pos = this.skipWhiteSpace(source,pos);
|
||||||
// Look for a less than sign
|
// Look for a less than sign
|
||||||
|
Loading…
x
Reference in New Issue
Block a user