mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-27 19:54:51 +00:00
Allow widget names to include digits
This commit is contained in:
@@ -319,7 +319,7 @@ exports.parseTag = function(source,pos,options) {
|
||||
attributes: {}
|
||||
};
|
||||
// Define our regexps
|
||||
var reTagName = /([a-zA-Z\-\$]+)/g;
|
||||
var reTagName = /([a-zA-Z0-9\-\$]+)/g;
|
||||
// Skip whitespace
|
||||
pos = this.skipWhiteSpace(source,pos);
|
||||
// Look for a less than sign
|
||||
|
||||
Reference in New Issue
Block a user