Fossil

Check-in [63886daad8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment: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.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 63886daad813bebdd526449c3fa20b3ef2ea054c
User & Date: drh 2008-11-18 15:33:25.000
Original Comment: In wiki, hyperlinks or the form <nowiki>[./filename]</wiki> (hyperlinks that begin with character ".") work correctly. Need to add more docs on how the <nowiki>[...]</nowiki> wiki markup really works.
References
2008-11-20
00:36 Fixed ticket [c62fac40af]: Edit CSS/HTML in Setup adds extra CR/LF, wrong http Content-length plus 1 other change ... (artifact: e3d3a3ce3f user: drh)
2008-11-19
23:52 Open ticket [c62fac40af]. ... (artifact: eb6a9f18bf user: anonymous)
Context
2008-11-19
16:55
Merge src & doc leaves back. ... (check-in: d14adf1032 user: kejoki tags: trunk)
2008-11-18
15:33
In wiki, hyperlinks or the form &#91;./filename&#93; (hyperlinks that begin with character ".") work correctly. Need to add more docs on how the &#91;...&#93; wiki markup really works. ... (check-in: 63886daad8 user: drh tags: trunk)
12:19
Show the "Files" menu option on the "home" page when the "h" privilege is enabled. ... (check-in: bdde7ddcc8 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/wikiformat.c.
936
937
938
939
940
941
942






943
944
945
946
947
948
949
  ){
    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( is_valid_uuid(zTarget) ){
    int isClosed;
    if( is_ticket(zTarget, &isClosed) ){
      /* Special display processing for tickets.  Display the hyperlink
      ** as crossed out if the ticket is closed.
      */







>
>
>
>
>
>







936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
  ){
    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) ){
    int isClosed;
    if( is_ticket(zTarget, &isClosed) ){
      /* Special display processing for tickets.  Display the hyperlink
      ** as crossed out if the ticket is closed.
      */