diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-10-21 21:51:16 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-21 21:54:38 -0700 |
commit | 4aa84f40060884311324d3dd0a81ec22fdd9329f (patch) | |
tree | f0755a1f77597ac8fe497e2763ce868ab68421e5 /test/fb2/basic.markdown | |
parent | 204776c0c4d3cfa273985564b3f1ff5fb6485628 (diff) | |
download | pandoc-4aa84f40060884311324d3dd0a81ec22fdd9329f.tar.gz |
In rendering PandocParsecError, only print input at error location...
if the source name is `source` (i.e., the top level). Otherwise
results will be misleading, since what readM does is to look
up the source position of the error in the *original* input,
which may not match the input used by parseFromString or
in parsing from an included file.
Closes #3865. Not a great fix, maybe there's something better
that could be done, but this should at least avoid misleading
messages.
Diffstat (limited to 'test/fb2/basic.markdown')
0 files changed, 0 insertions, 0 deletions