Skip to content

Commit

Permalink
fix: Update img.edge to fix broken image source (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
NathaelB authored May 30, 2024
1 parent eb1d308 commit b8d3e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 b8d3e01

Please sign in to comment.