aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Stevens <nilix@nilfm.cc>2022-06-18 23:55:45 -0600
committerDerek Stevens <nilix@nilfm.cc>2022-06-18 23:55:45 -0600
commit8cdc1fc8782150c892fed4111255ff52573d3858 (patch)
tree0a3a8ddb7391d8f12e7792e6c381d13bf0281569
parentfacd2dd57068f703b623e482c957d942ab716231 (diff)
allow formatting within strikethroughHEADmain
-rw-r--r--main.c6
1 files 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("<s>", f);
- fputs(s, f);
+ fpmetatemplate(f, l, s);
fputs("</s>", 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 '.':