|
|
@ -29,6 +29,7 @@ static const size_t sigil_size = sizeof("§")-1;
|
|
|
|
static const int id_length = 16;
|
|
|
|
static const int id_length = 16;
|
|
|
|
|
|
|
|
|
|
|
|
static const char ssb_ref_base[] = "http://localhost:8027/";
|
|
|
|
static const char ssb_ref_base[] = "http://localhost:8027/";
|
|
|
|
|
|
|
|
static const char ssb_blob_base[] = "ssbget:";
|
|
|
|
static const char ssb_channel_base[] = "http://localhost:8027/channel/";
|
|
|
|
static const char ssb_channel_base[] = "http://localhost:8027/channel/";
|
|
|
|
|
|
|
|
|
|
|
|
static const int max_cols = 54;
|
|
|
|
static const int max_cols = 54;
|
|
|
@ -683,7 +684,7 @@ md_rndr_image(struct buf *ob, const struct buf *link, const struct buf *title, c
|
|
|
|
if (!link || !link->size) return 0;
|
|
|
|
if (!link || !link->size) return 0;
|
|
|
|
|
|
|
|
|
|
|
|
BUFPUTSL(ob, "<img src=\"");
|
|
|
|
BUFPUTSL(ob, "<img src=\"");
|
|
|
|
BUFPUTSL(ob, ssb_ref_base);
|
|
|
|
BUFPUTSL(ob, ssb_blob_base);
|
|
|
|
houdini_escape_href(ob, link->data, link->size);
|
|
|
|
houdini_escape_href(ob, link->data, link->size);
|
|
|
|
BUFPUTSL(ob, "\" alt=\"");
|
|
|
|
BUFPUTSL(ob, "\" alt=\"");
|
|
|
|
|
|
|
|
|
|
|
|