| @@ -28,9 +28,9 @@ | ||
| 28 | 28 | // the attributes, so nothing here touches the HTML. |
| 29 | 29 | export const swapBlockImage = (serializedBlock, image) => { |
| 30 | 30 | const url = image?.source_url || image?.url; |
| 31 | 31 | if (!url || !image?.id) return null; |
| 32 | - // The attachment's alt carries the AI-generated disclosure prefix. | |
| 32 | + // The attachment's alt carries the AI-generated disclosure. | |
| 33 | 33 | const alt = image.alt_text ?? ''; |
| 34 | 34 | const parsed = parse(serializedBlock); |
| 35 | 35 | if (!parsed.some((block) => IMAGE_ATTRIBUTES[block.name])) return null; |
| 36 | 36 | const blocks = parsed.map((block) => { |