<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <filename>ext/dumptree.c</filename>
    </modified>
    <modified>
      <diff>@@ -701,7 +701,7 @@ maybe_tag_or_link(MMIOT *f)
 
     if ( maybetag  || (size &gt;= 3 &amp;&amp; strncmp(cursor(f), &quot;!--&quot;, 3) == 0) ) {
 	Qstring(forbidden_tag(f) ? &quot;&amp;lt;&quot; : &quot;&lt;&quot;, f);
-	while ( ((c = peek(f, size+1)) != EOF) &amp;&amp; (c != '&gt;') )
+	while ( ((c = peek(f, 1)) != EOF) &amp;&amp; (c != '&gt;') )
 	    cputc(pull(f), f);
 	return 1;
     }
@@ -925,6 +925,22 @@ text(MMIOT *f)
 	case '[':   if ( tag_text(f) || !linkylinky(0, f) )
 			Qchar(c, f);
 		    break;
+#if SUPERSCRIPT
+	case '^':   if ( isthisspace(f,-1) || isthisspace(f,1) )
+			Qchar(c,f);
+		    else {
+			char *sup = cursor(f);
+			int len = 0;
+			Qstring(&quot;&lt;sup&gt;&quot;,f);
+			while ( !isthisspace(f,1+len) ) {
+			    ++len;
+			}
+			shift(f,len);
+			reparse(sup, len, 0, f);
+			Qstring(&quot;&lt;/sup&gt;&quot;, f);
+		    }
+		    break;
+#endif
 	case '*':
 	case '_':   if ( tag_text(f) )
 			Qchar(c, f);</diff>
      <filename>ext/generate.c</filename>
    </modified>
    <modified>
      <diff>@@ -80,7 +80,7 @@ snip(Line *p)
 
 /* build a Document from any old input.
  */
-typedef unsigned int (*getc_func)(void*);
+typedef int (*getc_func)(void*);
 
 Document *
 populate(getc_func getc, void* ctx, int flags)
@@ -156,7 +156,7 @@ struct string_ctx {
 } ;
 
 
-static char
+static int
 strget(struct string_ctx *in)
 {
     if ( !in-&gt;size ) return EOF;</diff>
      <filename>ext/mkdio.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>20bcb707daaa21b20a582d2cca7e3adb779a93cb</id>
    </parent>
  </parents>
  <author>
    <name>Ryan Tomayko</name>
    <email>rtomayko@gmail.com</email>
  </author>
  <url>http://github.com/rtomayko/rdiscount/commit/152d453fcd140dbe4adeaa68b5cb4745121ff096</url>
  <id>152d453fcd140dbe4adeaa68b5cb4745121ff096</id>
  <committed-date>2008-08-02T00:08:49-07:00</committed-date>
  <authored-date>2008-08-02T00:01:33-07:00</authored-date>
  <message>import latest rdiscount at 1.2.7</message>
  <tree>f0ca57fd32e05d6707f52216e842cc4a6d155b92</tree>
  <committer>
    <name>Ryan Tomayko</name>
    <email>rtomayko@gmail.com</email>
  </committer>
</commit>
