diff options
Diffstat (limited to 'src/layout/engine.nim')
-rw-r--r-- | src/layout/engine.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim index d2d22ab9..d90fc52c 100644 --- a/src/layout/engine.nim +++ b/src/layout/engine.nim @@ -2599,6 +2599,10 @@ proc generateReplacement(ctx: var InnerBlockContext, child, parent: StyledNode) of CONTENT_IMAGE: #TODO idk ctx.generateAnonymousInlineText("[img]", parent) + of CONTENT_VIDEO: + ctx.generateAnonymousInlineText("[video]", parent) + of CONTENT_AUDIO: + ctx.generateAnonymousInlineText("[audio]", parent) of CONTENT_NEWLINE: ctx.iflush() #TODO ?? |