1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-25 23:03:15 +00:00

Allow widget names to include digits

This commit is contained in:
Jeremy Ruston 2013-07-14 23:13:42 +01:00
parent 8c73d8db4b
commit f1a7e433ab

View File

@ -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