-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incomplete RawBlocks of some environments inside LaTeX tables #9517
Comments
This is a subtle one. From what I can see, it looks like a bug in |
Can confirm that withRaw is returning an empty list of tokens. |
Aha. result <- disablingWithRaw parser which is undoubtedly there for a reason. (What was it?) |
Here's one of the tests that fails if we remove this
|
So we can either (a) figure out how to do the table cell parsing without |
Ah yes, we needed |
In updateState $ \st ->
if sEnableWithRaw st
then
let !newraws = IntMap.map (res:) $! sRawTokens st
in st{ sRawTokens = newraws }
else st So all of the token streams in the map are updated. Perhaps |
Running Pandoc 3.1.12.1 on Windows. For the following source file
running
gives
which is unexpected as the
RawBlock
contains neither the contents nor the end of thetheorem
environment. The same problem occurs for environments such aslemma
andtikzpicture
but notproof
orfigure
.The text was updated successfully, but these errors were encountered: