Fossil SCM

Formatting improvement for images shown by /artifact.

drh 2019-02-20 22:28 trunk
Commit 7b0dbe8079aa5b1271c80ec6bf71dc18537e78f1fa3201c84aaa9ca5be43f4b2
1 file changed +2 -2
+2 -2
--- src/info.c
+++ src/info.c
@@ -2251,12 +2251,12 @@
22512251
@ <pre>
22522252
@ %h(z)
22532253
@ </pre>
22542254
}
22552255
}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>
22582258
style_submenu_element("Image", "%R/raw/%s?m=%s", zUuid, zMime);
22592259
}else{
22602260
@ <i>(file is %d(blob_size(&content)) bytes of binary data)</i>
22612261
}
22622262
@ </blockquote>
22632263
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button