File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -730,6 +730,9 @@ and media tok_descr buffer nesting_level start_offset input = parse
730730 ~what: (Token. describe `End )
731731 ~in_what: tok_descr);
732732 Buffer. contents buffer}
733+ | (newline)
734+ { Buffer. add_char buffer ' ' ;
735+ media tok_descr buffer nesting_level start_offset input lexbuf }
733736 | _ as c
734737 { Buffer. add_char buffer c;
735738 media tok_descr buffer nesting_level start_offset input lexbuf }
Original file line number Diff line number Diff line change @@ -2167,8 +2167,7 @@ let%expect_test _ =
21672167 {|
21682168 ((output
21692169 (((f.ml (1 0) (2 5))
2170- (simple ((f.ml (1 8) (2 -6)) (Reference foo)) "bar \
2171- \n baz" image))))
2170+ (simple ((f.ml (1 8) (2 -6)) (Reference foo)) "bar baz" image))))
21722171 (warnings ())) |}]
21732172 end in
21742173 ()
You can’t perform that action at this time.
0 commit comments