mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-15 15:10:30 -08:00
Fixed problem with Markdown image handling
This commit is contained in:
parent
44cb3bc100
commit
b8aedf2ca3
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ function transformNode(node) {
|
|||
widget.children = transformNodes(node.slice(p++));
|
||||
// Massage images into the image widget
|
||||
if(widget.tag === "img") {
|
||||
widget.tag = "$image";
|
||||
widget.type = "image";
|
||||
if(widget.attributes.alt) {
|
||||
widget.attributes.tooltip = widget.attributes.alt;
|
||||
delete widget.attributes.alt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue