Skip to content

Commit

Permalink
Bugfix: Fix bad markdown serialization of header cells containing for…
Browse files Browse the repository at this point in the history
…matting
  • Loading branch information
rhennigan committed Nov 15, 2024
1 parent 0a9e79c commit cef3a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Chatbook/Serialization.wl
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ fasterCellToString0[ (Cell|StyleBox)[ a_, $$subsubsubsectionStyle, ___ ] ] := "#
fasterCellToString0[ (Cell|StyleBox)[ a_, $$subsubsubsubsectionStyle, ___ ] ] := "###### "<>fasterCellToString0 @ a;

fasterCellToString0[ Cell[ BoxData @ PaneBox[ StyleBox[ box_, style_String, ___ ], ___ ], "InlineSection", ___ ] ] :=
Block[ { $showStringCharacters = False },
Block[ { $showStringCharacters = False, $escapeMarkdown = False },
StringJoin[
"\n",
fasterCellToString0 @ Cell[ fasterCellToString0 @ box, style ],
Expand Down

0 comments on commit cef3a70

Please sign in to comment.