Skip to content

Commit

Permalink
fix(docs): incorrect img tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Oct 15, 2024
1 parent d1bfc63 commit b1a9282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/templates/elements/img.edge
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<figure x-data="zoom">
@if(node.properties.src.startsWith('http://') || node.properties.src.startsWith('https://'))
<img src="node.properties.src" />
<img src="{{ node.properties.src }}" />
@else
<img src="{{ vite.assetPath(app.relativePath(node.properties.src)) }}" />
@end
Expand Down

0 comments on commit b1a9282

Please sign in to comment.