mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
Version 2.2.4; also when doing github checkbox as input form disable each checkbox
This commit is contained in:
+1
-1
@@ -1744,7 +1744,7 @@ li_htmlify(Paragraph *p, char *arguments, int flags, MMIOT *f)
|
||||
Qprintf(f, ">");
|
||||
#if CHECKBOX_AS_INPUT
|
||||
if ( flags & GITHUB_CHECK ) {
|
||||
Qprintf(f, "<input type=\"checkbox\"");
|
||||
Qprintf(f, "<input disabled=\"\" type=\"checkbox\"");
|
||||
if ( flags & IS_CHECKED )
|
||||
Qprintf(f, " checked=\"checked\"");
|
||||
Qprintf(f, "/>");
|
||||
|
||||
@@ -6,5 +6,8 @@ char markdown_version[] = BRANCH VERSION
|
||||
#endif
|
||||
#if USE_AMALLOC
|
||||
" DEBUG"
|
||||
#endif
|
||||
#if GITHUB_CHECKBOX
|
||||
" GITHUB_CHECKBOX"
|
||||
#endif
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user