mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
cbadaa8d8b
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 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
init | ||
test | ||
ui | ||
ve.BranchNode.js | ||
ve.debug.js | ||
ve.Document.js | ||
ve.Element.js | ||
ve.EventEmitter.js | ||
ve.Factory.js | ||
ve.js | ||
ve.LeafNode.js | ||
ve.NamedClassFactory.js | ||
ve.Node.js | ||
ve.Range.js | ||
ve.Registry.js |