Commit c1b4fae
authored
fix(aiicons): emit marker-less base64 data URI so --embed icons render (#82)
The ';base64,' marker (added in #36) breaks draw.io's style parser, which
splits style values on ';' — the image= value gets truncated at
'data:image/svg+xml' and the icon renders as a blank box. Switch both embed
paths (lobe-icons and simple-icons fallback) to the marker-less form
'data:image/svg+xml,<base64>', draw.io's own convention for embedded images.
Verified via drawio CLI 30.2.6: marker-less renders, ';base64,' is blank.
Fixes #801 parent 6c53172 commit c1b4fae
2 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
168 | 170 | | |
169 | 171 | | |
170 | 172 | | |
| |||
179 | 181 | | |
180 | 182 | | |
181 | 183 | | |
182 | | - | |
| 184 | + | |
| 185 | + | |
183 | 186 | | |
184 | 187 | | |
185 | 188 | | |
| |||
0 commit comments