Fossil

Check-in [7b0dbe80]
Login

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

Overview
Comment:Formatting improvement for images shown by /artifact.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:7b0dbe8079aa5b1271c80ec6bf71dc18537e78f1fa3201c84aaa9ca5be43f4b2
User & Date: drh 2019-02-20 22:28:24
Context
2019-02-24
14:33
Make fossil work with Tcl 8.7 (still in alpha), even when Tcl is compiled with -DTCL_NO_DEPRECATED check-in: 08e63e17 user: jan.nijtmans tags: trunk
2019-02-20
22:28
Formatting improvement for images shown by /artifact. check-in: 7b0dbe80 user: drh tags: trunk
21:50
Always show the "Apply These Changes" button in the Wysiwyg editor. check-in: 5efd69e2 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/info.c.

  2249   2249             output_text_with_line_numbers(z, zLn);
  2250   2250           }else{
  2251   2251             @ <pre>
  2252   2252             @ %h(z)
  2253   2253             @ </pre>
  2254   2254           }
  2255   2255         }else if( strncmp(zMime, "image/", 6)==0 ){
  2256         -        @ <i>(file is %d(blob_size(&content)) bytes of image data)</i><br />
  2257         -        @ <img src="%R/raw/%s(zUuid)?m=%s(zMime)" />
         2256  +        @ <p>(file is %d(blob_size(&content)) bytes of image data)</i></p>
         2257  +        @ <p><img src="%R/raw/%s(zUuid)?m=%s(zMime)"></p>
  2258   2258           style_submenu_element("Image", "%R/raw/%s?m=%s", zUuid, zMime);
  2259   2259         }else{
  2260   2260           @ <i>(file is %d(blob_size(&content)) bytes of binary data)</i>
  2261   2261         }
  2262   2262         @ </blockquote>
  2263   2263       }
  2264   2264     }