Merge "Add basic tsr on indent-pre end tag"

This commit is contained in:
Gabriel Wicke 2012-06-27 17:11:38 +00:00 committed by Gerrit Code Review
commit 4e86337a43

View file

@ -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