Check-in [d6ad7aa034]
Not logged in
Overview

SHA1 Hash:d6ad7aa034f090e7cad99d607a9d2b0a11951281
Date: 2007-11-22 22:14:38
User: drh
Comment:Make sure HTML tags in wiki are terminated in the diff screen too.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/info.c from [0cdd4e2392] to [17c99730c3].

@@ -602,17 +602,21 @@
   );
   while( db_step(&q)==SQLITE_ROW ){
     const char *zName = db_column_text(&q, 0);
     const char *zDate = db_column_text(&q, 1);
     const char *zFuuid = db_column_text(&q, 2);
-    const char *zCom = db_column_text(&q, 3);
     const char *zUser = db_column_text(&q, 4);
     const char *zVers = db_column_text(&q, 5);
+    Blob comment;
     @ File <a href="%s(g.zBaseURL)/finfo?name=%T(zName)">%h(zName)</a>
     @ uuid %s(zFuuid) part of check-in
     hyperlink_to_uuid(zVers);
-    @ %s(zCom) by %s(zUser) on %s(zDate).
+    blob_zero(&comment);
+    db_column_blob(&q, 3, &comment);
+    blob_appendf(&comment, " by %h(zUser) on %s(zDate)");
+    wiki_convert(&comment, 0, 0);
+    blob_reset(&comment);
     cnt++;
   }
   db_finalize(&q);
   db_prepare(&q,
     "SELECT substr(tagname, 6, 10000), datetime(event.mtime),"
@@ -646,15 +650,19 @@
       rid, rid
     );
     while( db_step(&q)==SQLITE_ROW ){
       const char *zDate = db_column_text(&q, 0);
       const char *zUuid = db_column_text(&q, 3);
-      const char *zCom = db_column_text(&q, 2);
       const char *zUser = db_column_text(&q, 1);
+      Blob comment;
       @ Manifest of version
       hyperlink_to_uuid(zUuid);
-      @ %s(zCom) by %s(zUser) on %s(zDate).
+      blob_zero(&comment);
+      db_column_blob(&q, 2, &comment);
+      blob_appendf(&comment, " by %h(zUser) on %s(zDate)");
+      wiki_convert(&comment, 0, 0);
+      blob_reset(&comment);
       cnt++;
     }
     db_finalize(&q);
   }
   if( cnt==0 ){