Fossil SCM

No - render non-check-in timeline comments as wiki, since that is needed to resolve hyperlinks.

drh 2012-11-23 18:32 UTC ticket-enhancements
Commit 5139ad6e3604d4b28dd107ae90f1685eb9c5a0a8
1 file changed +1 -1
+1 -1
--- src/timeline.c
+++ src/timeline.c
@@ -345,11 +345,11 @@
345345
}else if( (tmFlags & TIMELINE_ARTID)!=0 ){
346346
hyperlink_to_uuid(zUuid);
347347
}
348348
db_column_blob(pQuery, commentColumn, &comment);
349349
if( zType[0]!='c' ){
350
- @ %s(blob_str(&comment))
350
+ wiki_convert(&comment, 0, WIKI_INLINE);
351351
}else if( mxWikiLen>0 && blob_size(&comment)>mxWikiLen ){
352352
Blob truncated;
353353
blob_zero(&truncated);
354354
blob_append(&truncated, blob_buffer(&comment), mxWikiLen);
355355
blob_append(&truncated, "...", 3);
356356
--- src/timeline.c
+++ src/timeline.c
@@ -345,11 +345,11 @@
345 }else if( (tmFlags & TIMELINE_ARTID)!=0 ){
346 hyperlink_to_uuid(zUuid);
347 }
348 db_column_blob(pQuery, commentColumn, &comment);
349 if( zType[0]!='c' ){
350 @ %s(blob_str(&comment))
351 }else if( mxWikiLen>0 && blob_size(&comment)>mxWikiLen ){
352 Blob truncated;
353 blob_zero(&truncated);
354 blob_append(&truncated, blob_buffer(&comment), mxWikiLen);
355 blob_append(&truncated, "...", 3);
356
--- src/timeline.c
+++ src/timeline.c
@@ -345,11 +345,11 @@
345 }else if( (tmFlags & TIMELINE_ARTID)!=0 ){
346 hyperlink_to_uuid(zUuid);
347 }
348 db_column_blob(pQuery, commentColumn, &comment);
349 if( zType[0]!='c' ){
350 wiki_convert(&comment, 0, WIKI_INLINE);
351 }else if( mxWikiLen>0 && blob_size(&comment)>mxWikiLen ){
352 Blob truncated;
353 blob_zero(&truncated);
354 blob_append(&truncated, blob_buffer(&comment), mxWikiLen);
355 blob_append(&truncated, "...", 3);
356

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button