diff --git a/js/macros/image.js b/js/macros/image.js index 972d0e4c1..931488eb7 100644 --- a/js/macros/image.js +++ b/js/macros/image.js @@ -33,7 +33,7 @@ exports.macro = { } } else { return [Renderer.ElementNode("img",{ - href: this.params.src, + src: this.params.src, alt: this.params.text, title: this.params.text })]; diff --git a/test/wikitests/Fourth Tiddler.html b/test/wikitests/Fourth Tiddler.html index 011348ed5..b9fa3b19e 100644 --- a/test/wikitests/Fourth Tiddler.html +++ b/test/wikitests/Fourth Tiddler.html @@ -1 +1 @@ -
A missing image and a $1 couple of Ç Ç "HTML Entity"
\ No newline at end of file +
A missing image and a $1 couple of Ç Ç "HTML Entity"
\ No newline at end of file diff --git a/test/wikitests/ThirdTiddler.html b/test/wikitests/ThirdTiddler.html index 9f8ebb13a..5227a2de7 100644 --- a/test/wikitests/ThirdTiddler.html +++ b/test/wikitests/ThirdTiddler.html @@ -1 +1 @@ -
An explicit link Fourth Tiddler and a pretty link and a transclusion
A missing image and a Stringy couple of Ç Ç "HTML Entity"



\ No newline at end of file +
An explicit link Fourth Tiddler and a pretty link and a transclusion
A missing image and a Stringy couple of Ç Ç "HTML Entity"



\ No newline at end of file