Closed
Description
Whittled down from a much larger file: changes.rst is:
* Added parameters to coverage.__init__ for options that had been set
on the coverage object itself.
3.5 handled this correctly. 3.6 and 3.6.1 do not:
% ./pandoc3.5 -frst -tmarkdown_strict --markdown-headings=atx --wrap=none changes.rst
- Added parameters to coverage.\_\_init\_\_ for options that had been set on the coverage object itself.
% ./pandoc3.6 -frst -tmarkdown_strict --markdown-headings=atx --wrap=none changes.rst
Error at "changes.rst_chunk" (line 2, column 1):
unexpected 'o'
expecting block
% ./pandoc3.6.1 -frst -tmarkdown_strict --markdown-headings=atx --wrap=none changes.rst
Error at "changes.rst_chunk" (line 2, column 1):
unexpected 'o'
expecting block
Fiddling with the underscores changes the behavior:
* Added parameters to coverage.init__ for options that had been set
on the coverage object itself.
Produces:
Error at "changes.rst_chunk" (line 4, column 1):
unexpected end of input
expecting end of input
and
* Added parameters to coverage.init for options that had been set
on the coverage object itself.
converts correctly.