mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "Add basic tsr on indent-pre end tag"
This commit is contained in:
commit
4e86337a43
|
@ -1117,7 +1117,7 @@ pre_indent
|
|||
/ l:pre_indent_line ls:(sol pre_indent_line)* {
|
||||
return [new TagTk( 'pre', [], { tsr: [pos0, pos0 + 1] } )]
|
||||
.concat( [l], ls
|
||||
, [new EndTagTk( 'pre' )]);
|
||||
, [new EndTagTk( 'pre', [], {tsr: [pos, pos]} )]);
|
||||
}
|
||||
|
||||
// An indented pre block that is surrounded with pre tags. The pre tags are
|
||||
|
|
Loading…
Reference in a new issue