Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Properly escape spaces in URLs in an href attribute. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
cd8aad43929cdc86324001e6358f1420 |
| User & Date: | drh 2012-11-08 16:51:34.160 |
Context
|
2012-11-08
| ||
| 20:28 | Update the many-www.tcl test script to stage the URLs testing and to run more of them. ... (check-in: 691f188402 user: drh tags: trunk) | |
| 16:51 | Properly escape spaces in URLs in an href attribute. ... (check-in: cd8aad4392 user: drh tags: trunk) | |
| 16:25 | Short-circuit a rare pathological case in the diff generator to prevent it from taking too much time. ... (check-in: 353438a83b user: drh tags: trunk) | |
Changes
Changes to src/info.c.
| ︙ | ︙ | |||
883 884 885 886 887 888 889 |
const char *z = zTagList;
Blob links;
blob_zero(&links);
while( z && z[0] ){
for(i=0; z[i] && (z[i]!=',' || z[i+1]!=' '); i++){}
blob_appendf(&links,
"%z%#h</a>%.2s",
| | | 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 |
const char *z = zTagList;
Blob links;
blob_zero(&links);
while( z && z[0] ){
for(i=0; z[i] && (z[i]!=',' || z[i+1]!=' '); i++){}
blob_appendf(&links,
"%z%#h</a>%.2s",
href("%R/timeline?r=%#t&nd&c=%t",i,z,zDate), i,z, &z[i]
);
if( z[i]==0 ) break;
z += i+2;
}
@ tags: %s(blob_str(&links)),
blob_reset(&links);
}else{
|
| ︙ | ︙ |