mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-12-18 00:30:30 +00:00
Merge "Fix highlighting of table headers on single text row"
This commit is contained in:
commit
b7a201e2f0
|
@ -579,7 +579,7 @@
|
|||
return inTable( stream, state );
|
||||
}
|
||||
} else {
|
||||
if ( stream.match( /[^'|{[<&~]+/ ) ) {
|
||||
if ( stream.match( /[^'|{[<&~!]+/ ) ) {
|
||||
return makeStyle( ( isHead ? 'strong' : '' ), state );
|
||||
}
|
||||
if ( stream.match( '||' ) || isHead && stream.match( '!!' ) || ( isStart && stream.eat( '|' ) ) ) {
|
||||
|
|
Loading…
Reference in a new issue