Fossil SCM
No - render non-check-in timeline comments as wiki, since that is needed to resolve hyperlinks.
Commit
5139ad6e3604d4b28dd107ae90f1685eb9c5a0a8
Parent
73752b328bb64f6…
1 file changed
+1
-1
+1
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -345,11 +345,11 @@ | ||
| 345 | 345 | }else if( (tmFlags & TIMELINE_ARTID)!=0 ){ |
| 346 | 346 | hyperlink_to_uuid(zUuid); |
| 347 | 347 | } |
| 348 | 348 | db_column_blob(pQuery, commentColumn, &comment); |
| 349 | 349 | if( zType[0]!='c' ){ |
| 350 | - @ %s(blob_str(&comment)) | |
| 350 | + wiki_convert(&comment, 0, WIKI_INLINE); | |
| 351 | 351 | }else if( mxWikiLen>0 && blob_size(&comment)>mxWikiLen ){ |
| 352 | 352 | Blob truncated; |
| 353 | 353 | blob_zero(&truncated); |
| 354 | 354 | blob_append(&truncated, blob_buffer(&comment), mxWikiLen); |
| 355 | 355 | blob_append(&truncated, "...", 3); |
| 356 | 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 | @ %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 |