Commit 36643f4a44ed6893cb5a59c640d75cf4136a06f9

Martin Mitas 2016-11-20T00:16:16

md2html: Fix name of link attribute 'title'.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/md2html/md2html.c b/md2html/md2html.c
index f50cbdd..4a740f6 100644
--- a/md2html/md2html.c
+++ b/md2html/md2html.c
@@ -156,7 +156,7 @@ open_a_span(struct membuffer* out, MD_SPAN_A_DETAIL* det)
     membuf_append_escaped(out, det->href, det->href_size);
 
     if(det->title != NULL) {
-        MEMBUF_APPEND_LITERAL(out, "\" href=\"");
+        MEMBUF_APPEND_LITERAL(out, "\" title=\"");
         membuf_append_escaped(out, det->title, det->title_size);
     }