Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
fix: Str literal in code/math mode to be preserved
Browse files Browse the repository at this point in the history
  • Loading branch information
monaqa committed Nov 21, 2023
1 parent 6ab2cab commit 351aff2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ fn visit(node: &LinkedNode, ctx: &mut Ctx) -> String {
}
Equation => math::format_equation(node, &res, ctx),
Math => math::format_math(node, &res, ctx),
Str => no_format(node, &res, ctx),
_ => format_default(node, &res, ctx),
};
if node.children().count() == 0 {
Expand Down

0 comments on commit 351aff2

Please sign in to comment.