Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

In `theme.c` and `xmlpage.c`, use `mkd_generatecss()` instead

of the unfortunately named `mkd_style()` to print out the
stylesheets.
  • Loading branch information...
commit 93560cbefb5bc312dbee54d8dca53a9030a1a9fb 1 parent 7ba17fc
David Parsons authored
Showing with 4 additions and 5 deletions.
  1. +1 −1  css.c
  2. +1 −1  theme.c
  3. +2 −3 xmlpage.c
View
2  css.c
@@ -1,6 +1,6 @@
/* markdown: a C implementation of John Gruber's Markdown markup language.
*
- * Copyright (C) 2007 David L Parsons.
+ * Copyright (C) 2009 David L Parsons.
* The redistribution terms are provided in the COPYRIGHT file that must
* be distributed with this source code.
*/
View
2  theme.c
@@ -373,7 +373,7 @@ ftoc(MMIOT *doc, FILE *output, int flags)
static void
fstyle(MMIOT *doc, FILE *output, int flags)
{
- mkd_style(doc, output);
+ mkd_generatecss(doc, output);
}
View
5 xmlpage.c
@@ -32,17 +32,16 @@ mkd_xhtmlpage(Document *p, int flags, FILE *out)
fprintf(out, "<head>\n");
if ( title = mkd_doc_title(p) )
fprintf(out, "<title>%s</title>\n", title);
- mkd_style(p, out);
+ mkd_generatecss(p, out);
fprintf(out, "</head>\n");
fprintf(out, "<body>\n");
mkd_generatehtml(p, out);
fprintf(out, "</body>\n");
+ fprintf(out, "</html>\n");
mkd_cleanup(p);
- fprintf(out, "</html>\n");
-
return 0;
}
return -1;
Please sign in to comment.
Something went wrong with that request. Please try again.