Differences From:
File
src/wikiformat.c
part of check-in
[f0c8693845]
- More improvements to the timeline display of ticket changes.
by
drh on
2008-10-20 06:41:12.
[view]
To:
File
src/wikiformat.c
part of check-in
[63886daad8]
- In wiki, hyperlinks or the form [./filename] (hyperlinks
that begin with character ".") work correctly. Need to add more docs
on how the [...] wiki markup really works.
by
drh on
2008-11-18 15:33:25.
Also file
src/wikiformat.c
part of check-in
[d14adf1032]
- Merge src & doc leaves back.
by
kejoki on
2008-11-19 16:55:14.
[view]
@@ -937,8 +937,14 @@
blob_appendf(p->pOut, "<a href=\"%s\">", zTarget);
}else if( zTarget[0]=='/' ){
if( g.okHistory ){
blob_appendf(p->pOut, "<a href=\"%s%h\">", g.zBaseURL, zTarget);
+ }else{
+ zTerm = "";
+ }
+ }else if( zTarget[0]=='.' ){
+ if( g.okHistory ){
+ blob_appendf(p->pOut, "<a href=\"%h\">", zTarget);
}else{
zTerm = "";
}
}else if( is_valid_uuid(zTarget) ){