From 8cdc1fc8782150c892fed4111255ff52573d3858 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Sat, 18 Jun 2022 23:55:45 -0600 Subject: [PATCH] allow formatting within strikethrough --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index 522680e..591b822 100644 --- a/main.c +++ b/main.c @@ -339,9 +339,9 @@ int fpitalic(FILE* f, char* s) { return 1; } -int fpstrike(FILE* f, char* s) { +int fpstrike(FILE* f, Lexicon* l, char* s) { fputs("", f); - fputs(s, f); + fpmetatemplate(f, l, s); fputs("", f); return 1; } @@ -393,7 +393,7 @@ int fptemplate(FILE* f, Lexicon* l, char* s) { case '@': return fpbold(f, s + 1); case '\\': - return fpstrike(f, s + 1); + return fpstrike(f, l, s + 1); case '!': return fph3(f, s + 1); case '.':