mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-31 22:26:57 -06:00
Fix-up: chartex frames use the (open, close) anchor tags after merging #161 onto the move-only anchor change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
502c588690
commit
c6392e6380
@@ -294,7 +294,9 @@ pub fn write_drawing(sheet: &Sheet, theme: &Theme, objs: &[Obj<'_>]) -> String {
|
||||
}
|
||||
Obj::Chart(ch, rid) if crate::chartex::is_chartex(ch.kind) => {
|
||||
// Chartex frames come with a fallback for readers that don't know them.
|
||||
s.push_str(&anchor_open(sheet, &ch.anchor));
|
||||
let (open, close) = anchor_open(sheet, &ch.anchor);
|
||||
close_tag = close;
|
||||
s.push_str(&open);
|
||||
let (prefix, ns) = crate::chartex::requires(ch.kind);
|
||||
let _ = write!(
|
||||
s,
|
||||
|
||||
Reference in New Issue
Block a user