about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/layout/engine.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim
index 7b13bbb5..2f926148 100644
--- a/src/layout/engine.nim
+++ b/src/layout/engine.nim
@@ -1545,7 +1545,7 @@ proc generateReplacement(ctx: var InnerBlockContext, child, parent: StyledNode)
     ctx.generateAnonymousInlineText(child.content.s, parent)
   of CONTENT_IMAGE:
     #TODO idk
-    ctx.generateAnonymousInlineText(child.content.s, parent)
+    ctx.generateAnonymousInlineText("[img]", parent)
   of CONTENT_NEWLINE:
     ctx.iflush()
     ctx.ibox = getTextBox(parent.computed.inheritProperties())