mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08:00
806dcb0849
The reader did not properly consume empty lines after =encoding commands, which produced various incorrect parses depending on the content between there and the next command. Fixes #10537
25 lines
228 B
Markdown
25 lines
228 B
Markdown
```
|
|
% pandoc -f pod -t html
|
|
=encoding utf8
|
|
|
|
=head1 NAME
|
|
|
|
Test document
|
|
^D
|
|
<h1>NAME</h1>
|
|
<p>Test document</p>
|
|
```
|
|
|
|
```
|
|
% pandoc -f pod -t html
|
|
=encoding utf8
|
|
|
|
|
|
=head1 NAME
|
|
|
|
Test document
|
|
^D
|
|
<h1>NAME</h1>
|
|
<p>Test document</p>
|
|
```
|