Skip to content

Commit

Permalink
Merge pull request #886 from WolframResearch/bugfix/double-raw-boxes
Browse files Browse the repository at this point in the history
Bugfix: An extra `RawBoxes` was being wrapped around expressions before rasterization
  • Loading branch information
rhennigan authored Nov 6, 2024
2 parents bdf10af + 78743ad commit 3023e39
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 @@ -1096,7 +1096,7 @@ rasterizeGraphics // endDefinition;
checkedRasterize // beginDefinition;

checkedRasterize[ expr_ ] := Quiet[
Check[ rasterize @ RawBoxes @ expr, Missing[ "OutOfMemory" ], Rasterize::bigraster ],
Check[ rasterize @ expr, Missing[ "OutOfMemory" ], Rasterize::bigraster ],
Rasterize::bigraster
];

Expand Down

0 comments on commit 3023e39

Please sign in to comment.