Diff
Not logged in

Differences From:

File src/wikiformat.c part of check-in [8f423ad438] - Fix a bug in wiki rendering that caused an extra paragraph end tag following a hyperlink. by drh on 2007-10-21 11:11:02. [view]

To:

File src/wikiformat.c part of check-in [421a1e1fa4] - Fix the hyperlink to wiki so that it uses a query parameter for the wiki page name. by drh on 2007-10-27 13:52:17. [view]

@@ -784,9 +784,9 @@
     blob_appendf(p->pOut, zTarget);
   }else if( zTarget[0]=='/' ){
     blob_appendf(p->pOut, "%s%h", g.zBaseURL, zTarget);
   }else if( wiki_name_is_wellformed(zTarget) ){
-    blob_appendf(p->pOut, "%s/wiki/%T", g.zBaseURL, zTarget);
+    blob_appendf(p->pOut, "%s/wiki?name=%T", g.zBaseURL, zTarget);
   }else{
     blob_appendf(p->pOut, "error");
   }
 }