mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
Version 1.2.5: use puturl() to write out auto-expanded <url>
and <mailto> sections. If I use reparse(), I end up having unhappy side-effects on the visible part of the url or mailto.
This commit is contained in:
+1
-1
@@ -716,7 +716,7 @@ maybe_tag_or_link(MMIOT *f)
|
||||
Qstring("<a href=\"", f);
|
||||
puturl(text,size,f);
|
||||
Qstring("\">", f);
|
||||
reparse(text, size, DENY_A, f);
|
||||
puturl(text,size,f);
|
||||
Qstring("</a>", f);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user