Overview
SHA1 Hash: | a8c3a7ea9249281e0a1fb55fb31d2ad57844f848 |
---|---|
Date: | 2008-11-22 19:32:44 |
User: | drh |
Comment: | Make explicit links in wiki visible regardless of whether or not the "h" permission is turned on. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/wikiformat.c from [51759e15ab] to [0a6e50b755].
@@ -934,17 +934,17 @@ || strncmp(zTarget, "ftp:", 4)==0 || strncmp(zTarget, "mailto:", 7)==0 ){ blob_appendf(p->pOut, "<a href=\"%s\">", zTarget); }else if( zTarget[0]=='/' ){ - if( g.okHistory ){ + if( 1 /* g.okHistory */ ){ blob_appendf(p->pOut, "<a href=\"%s%h\">", g.zBaseURL, zTarget); }else{ zTerm = ""; } }else if( zTarget[0]=='.' ){ - if( g.okHistory ){ + if( 1 /* g.okHistory */ ){ blob_appendf(p->pOut, "<a href=\"%h\">", zTarget); }else{ zTerm = ""; } }else if( is_valid_uuid(zTarget) ){