Diff
Not logged in

Differences From:

File src/wikiformat.c part of check-in [d6bfe8d9a8] - Change default ticket viewer format to display ticket title as wiki. Show event summaries as wiki on the timeline. Allow <nowiki> markup in "NOBLOCK" wiki renderings. Ticket 218153bb7c3. by drh on 2009-09-23 13:08:33. [view]

To:

File src/wikiformat.c part of check-in [0039b7813e] - Add the &#x27FE; mark after external hyperlinks in wiki. by drh on 2009-11-01 19:49:34. [view]

@@ -941,16 +941,17 @@
   char *zClose,           /* Write hyperlink closing text here */
   int nClose              /* Bytes available in zClose[] */
 ){
   const char *zTerm = "</a>";
-  assert( nClose>10 );
+  assert( nClose>=20 );
 
   if( strncmp(zTarget, "http:", 5)==0
    || strncmp(zTarget, "https:", 6)==0
    || strncmp(zTarget, "ftp:", 4)==0
    || strncmp(zTarget, "mailto:", 7)==0
   ){
     blob_appendf(p->pOut, "<a href=\"%s\">", zTarget);
+    zTerm = "&#x27FE;</a>";
   }else if( zTarget[0]=='/' ){
     if( 1 /* g.okHistory */ ){
       blob_appendf(p->pOut, "<a href=\"%s%h\">", g.zBaseURL, zTarget);
     }else{