Fossil SCM
Formatting improvement for images shown by /artifact.
Commit
7b0dbe8079aa5b1271c80ec6bf71dc18537e78f1fa3201c84aaa9ca5be43f4b2
Parent
5efd69e2ca688a5…
1 file changed
+2
-2
+2
-2
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -2251,12 +2251,12 @@ | ||
| 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 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2251,12 +2251,12 @@ | |
| 2251 | @ <pre> |
| 2252 | @ %h(z) |
| 2253 | @ </pre> |
| 2254 | } |
| 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)" /> |
| 2258 | style_submenu_element("Image", "%R/raw/%s?m=%s", zUuid, zMime); |
| 2259 | }else{ |
| 2260 | @ <i>(file is %d(blob_size(&content)) bytes of binary data)</i> |
| 2261 | } |
| 2262 | @ </blockquote> |
| 2263 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2251,12 +2251,12 @@ | |
| 2251 | @ <pre> |
| 2252 | @ %h(z) |
| 2253 | @ </pre> |
| 2254 | } |
| 2255 | }else if( strncmp(zMime, "image/", 6)==0 ){ |
| 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 | style_submenu_element("Image", "%R/raw/%s?m=%s", zUuid, zMime); |
| 2259 | }else{ |
| 2260 | @ <i>(file is %d(blob_size(&content)) bytes of binary data)</i> |
| 2261 | } |
| 2262 | @ </blockquote> |
| 2263 |