Documents: nested code tags stay literal; an indented \[ formula is block
CI / site (push) Successful in 33s
CI / platforms (windows-latest) (push) Successful in 4m35s
CI / crate (push) Failing after 12m30s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude committed 2026-10-19 00:10:16 -04:00
1 parent a20e712e29
commit 5fba7b3dfb
5 files changed
+26 -12

No files matched your search

+1 -1
View File
@@ -323,7 +323,7 @@ impl<'a> Reader<'a> {
if let [mdast::Node::InlineMath(math)] = children
&& ["$$", "\\["]
.iter()
.any(|open| self.source[span(node)].starts_with(open))
.any(|open| self.source[span(&children[0])].starts_with(open))
{
return out.push(Node::Math(math.value.trim().to_string()));
}