Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Formatting improvement for images shown by /artifact. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
7b0dbe8079aa5b1271c80ec6bf71dc18 |
| User & Date: | drh 2019-02-20 22:28:24.227 |
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: 08e63e1755 user: jan.nijtmans tags: trunk) | |
|
2019-02-20
| ||
| 22:28 | Formatting improvement for images shown by /artifact. ... (check-in: 7b0dbe8079 user: drh tags: trunk) | |
| 21:50 | Always show the "Apply These Changes" button in the Wysiwyg editor. ... (check-in: 5efd69e2ca user: drh tags: trunk) | |
Changes
Changes to src/info.c.
| ︙ | ︙ | |||
2249 2250 2251 2252 2253 2254 2255 |
output_text_with_line_numbers(z, zLn);
}else{
@ <pre>
@ %h(z)
@ </pre>
}
}else if( strncmp(zMime, "image/", 6)==0 ){
| | | | 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 |
output_text_with_line_numbers(z, zLn);
}else{
@ <pre>
@ %h(z)
@ </pre>
}
}else if( strncmp(zMime, "image/", 6)==0 ){
@ <p>(file is %d(blob_size(&content)) bytes of image data)</i></p>
@ <p><img src="%R/raw/%s(zUuid)?m=%s(zMime)"></p>
style_submenu_element("Image", "%R/raw/%s?m=%s", zUuid, zMime);
}else{
@ <i>(file is %d(blob_size(&content)) bytes of binary data)</i>
}
@ </blockquote>
}
}
|
| ︙ | ︙ |