summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar default2024-03-25 16:15:09 +0100
committerGravatar default2024-03-25 16:15:09 +0100
commitadf0a13992edb85738ac983a872937a805629474 (patch)
tree31e084c9ff92a82e2083e8225e703bceeec56981 /main.c
parentEmojis are now read from ~/emojis.json. (diff)
downloadsnac2-adf0a13992edb85738ac983a872937a805629474.tar.gz
snac2-adf0a13992edb85738ac983a872937a805629474.tar.xz
snac2-adf0a13992edb85738ac983a872937a805629474.zip
If an emoji in emojis.json is an URL to an image, it's stored in the tag list.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index c789299..d609880 100644
--- a/main.c
+++ b/main.c
@@ -98,7 +98,7 @@ int main(int argc, char *argv[])
98 if (strcmp(cmd, "markdown") == 0) { /** **/ 98 if (strcmp(cmd, "markdown") == 0) { /** **/
99 /* undocumented, for testing only */ 99 /* undocumented, for testing only */
100 xs *c = xs_readall(stdin); 100 xs *c = xs_readall(stdin);
101 xs *fc = not_really_markdown(c, NULL); 101 xs *fc = not_really_markdown(c, NULL, NULL);
102 102
103 printf("<html>\n%s\n</html>\n", fc); 103 printf("<html>\n%s\n</html>\n", fc);
104 return 0; 104 return 0;