Fossil

Check-in [45451564]
Login

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

Overview
Comment:The verbatim PRE tags now have class=fossil-verbatim to allow customization of the verbatim look/feel.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 454515642ce5b64bd2ba9ab139c012aec1af8282
User & Date: stephan 2008-05-16 15:44:18.000
Context
2008-05-16
15:54
renamed fossil-verbatim to verbatim for consistency with other CSS elements. Added a reasonable default .verbatim entry. ... (check-in: bb542b80 user: stephan tags: trunk)
15:44
The verbatim PRE tags now have class=fossil-verbatim to allow customization of the verbatim look/feel. ... (check-in: 45451564 user: stephan tags: trunk)
13:55
Preserve the case of unknown HTML markup on wiki pages. ... (check-in: a4d7e916 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/wikiformat.c.
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
            p->zVerbatimId = markup.aAttr[0].zValue;
          }else{
            p->zVerbatimId = 0;
          }
          p->inVerbatim = 1;
          p->preVerbState = p->state;
          p->state &= ~ALLOW_WIKI;
          blob_append(p->pOut, "<pre>", 5);
          p->wantAutoParagraph = 0;
        }else if( markup.iType==MUTYPE_LI ){
          if( backupToType(p, MUTYPE_LIST)==0 ){
            pushStack(p, MARKUP_UL);
            blob_append(p->pOut, "<ul>", 4);
          }
          pushStack(p, MARKUP_LI);







|







1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
            p->zVerbatimId = markup.aAttr[0].zValue;
          }else{
            p->zVerbatimId = 0;
          }
          p->inVerbatim = 1;
          p->preVerbState = p->state;
          p->state &= ~ALLOW_WIKI;
          blob_append(p->pOut, "<pre class='fossil-verbatim'>",-1);
          p->wantAutoParagraph = 0;
        }else if( markup.iType==MUTYPE_LI ){
          if( backupToType(p, MUTYPE_LIST)==0 ){
            pushStack(p, MARKUP_UL);
            blob_append(p->pOut, "<ul>", 4);
          }
          pushStack(p, MARKUP_LI);