Input
 trailing text
^ A caption Output AST
- type: Paragraph
children:
- type: ImageInline
alt:
- type: Text
value: a
src: b
- type: Text
value: " trailing text"
- type: Paragraph
children:
- type: Text
value: ^ A caption Diagnostics
- code: CDN-0008
level: warning