1
0
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:
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: {} 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