Skip to content

Commit 654e2a3

Browse files
committed
Trim blank lines around verbatim text
1 parent 0a4ca58 commit 654e2a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/octLexer.mll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ and verb = parse
465465
{ raise (LexerError(curr_loc lexbuf, Nested_verbatim)) }
466466
| verb end
467467
{ use_start_loc lexbuf;
468-
Verb (get_raw_buffered_string ()) }
468+
Verb (get_buffered_string ()) }
469469
| eof
470470
{ raise (LexerError(get_start_loc (), Unterminated_verbatim)) }
471471
| newline
@@ -525,7 +525,7 @@ and pre_code = parse
525525
{ raise (LexerError(curr_loc lexbuf, Nested_pre_code)) }
526526
| end_pre_code
527527
{ use_start_loc lexbuf;
528-
Pre_Code (get_raw_buffered_string ()) }
528+
Pre_Code (get_buffered_string ()) }
529529
| eof
530530
{ raise (LexerError(get_start_loc (), Unterminated_pre_code)) }
531531
| newline

0 commit comments

Comments
 (0)