allow formatting within strikethrough
This commit is contained in:
parent
facd2dd570
commit
8cdc1fc878
1 changed files with 3 additions and 3 deletions
6
main.c
6
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 '.':
|
||||
|
|
Loading…
Reference in a new issue