Fossil SCM
Fix to hyperlinks on search results.
Commit
1c2581233716e3532ae2b29cb3075c16cd136970
Parent
a00a140bff46373…
1 file changed
+1
-1
+1
-1
| --- src/search.c | ||
| +++ src/search.c | ||
| @@ -813,11 +813,11 @@ | ||
| 813 | 813 | const char *zLabel = db_column_text(&q, 2); |
| 814 | 814 | if( nRow==0 ){ |
| 815 | 815 | @ <ol> |
| 816 | 816 | } |
| 817 | 817 | nRow++; |
| 818 | - @ <li><p><a href='%s(zUrl)'>%h(zLabel)</a><br> | |
| 818 | + @ <li><p><a href='%R%s(zUrl)'>%h(zLabel)</a><br> | |
| 819 | 819 | @ <span class='snippet'>%s(zSnippet)</span></li> |
| 820 | 820 | } |
| 821 | 821 | db_finalize(&q); |
| 822 | 822 | if( nRow ){ |
| 823 | 823 | @ </ol> |
| 824 | 824 |
| --- src/search.c | |
| +++ src/search.c | |
| @@ -813,11 +813,11 @@ | |
| 813 | const char *zLabel = db_column_text(&q, 2); |
| 814 | if( nRow==0 ){ |
| 815 | @ <ol> |
| 816 | } |
| 817 | nRow++; |
| 818 | @ <li><p><a href='%s(zUrl)'>%h(zLabel)</a><br> |
| 819 | @ <span class='snippet'>%s(zSnippet)</span></li> |
| 820 | } |
| 821 | db_finalize(&q); |
| 822 | if( nRow ){ |
| 823 | @ </ol> |
| 824 |
| --- src/search.c | |
| +++ src/search.c | |
| @@ -813,11 +813,11 @@ | |
| 813 | const char *zLabel = db_column_text(&q, 2); |
| 814 | if( nRow==0 ){ |
| 815 | @ <ol> |
| 816 | } |
| 817 | nRow++; |
| 818 | @ <li><p><a href='%R%s(zUrl)'>%h(zLabel)</a><br> |
| 819 | @ <span class='snippet'>%s(zSnippet)</span></li> |
| 820 | } |
| 821 | db_finalize(&q); |
| 822 | if( nRow ){ |
| 823 | @ </ol> |
| 824 |