Permalink
Browse files

use upstream version of anchor patch

  • Loading branch information...
rtomayko committed Jan 25, 2011
1 parent ea79c12 commit 96875c83fc6e2969f2814b4e364b5602e06750c0
Showing with 3 additions and 3 deletions.
  1. +1 −1 discount
  2. +2 −2 ext/generate.c
Submodule discount updated from e73f33 to cecde1
View
@@ -1313,9 +1313,9 @@ static void
printheader(Paragraph *pp, MMIOT *f)
{
if ( f->flags & MKD_TOC ) {
- Qprintf(f, "<a name=\"", pp->hnumber);
+ Qstring("<a name=\"", f);
mkd_string_to_anchor(T(pp->text->text), S(pp->text->text), Qchar, f, 1);
- Qprintf(f, "\"></a>\n");
+ Qstring("\"></a>\n", f);
}
Qprintf(f, "<h%d>", pp->hnumber);
push(T(pp->text->text), S(pp->text->text), f);

0 comments on commit 96875c8

Please sign in to comment.