mediawiki-extensions-Visual.../modules/ve
Roan Kattouw cbadaa8d8b Fix deprioritization of regex matches in ModelRegistry
If you had an HTML element that was matched by two models, one with
a direct string match and one with a regex match, then the string
match would beat the regex match (which is correct) if they both
specified a tag name, but the regex match would win (which is wrong)
if they both didn't specify a tag name.

The fix is to only check for tagName === null if we're in tag-agnostic
mode (tag === '').

Change-Id: I9943611111e4c4ff498cdd95b7b3e72f95fb413b
2013-08-08 02:52:45 +00:00
..
ce Actually fix bug 47793 for Opera for real this time 2013-08-04 23:09:56 +02:00
dm Fix deprioritization of regex matches in ModelRegistry 2013-08-08 02:52:45 +00:00
init Create strikethrough text style button 2013-08-07 16:14:19 +08:00
test Add ve.ui.ToolGroup and use within toolbar setup 2013-08-07 05:08:20 +00:00
ui Allow customisation of ui.Window titles 2013-08-08 02:49:18 +00:00
ve.BranchNode.js
ve.debug.js
ve.Document.js doc: Clean up spacing that caused <pre> or broken <ul>/<ol> 2013-07-25 04:02:50 +02:00
ve.Element.js doc: Add missing @static to static ve.Element methods 2013-08-02 08:49:53 +02:00
ve.EventEmitter.js oojs: Integrate with OOJS v1.0.0 2013-06-06 17:29:55 +02:00
ve.Factory.js
ve.js Include element HTML in QUnit summary for diff 2013-08-02 16:10:05 +01:00
ve.LeafNode.js
ve.NamedClassFactory.js
ve.Node.js
ve.Range.js
ve.Registry.js