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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int fpstrike(FILE* f, char* s) {
|
int fpstrike(FILE* f, Lexicon* l, char* s) {
|
||||||
fputs("<s>", f);
|
fputs("<s>", f);
|
||||||
fputs(s, f);
|
fpmetatemplate(f, l, s);
|
||||||
fputs("</s>", f);
|
fputs("</s>", f);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -393,7 +393,7 @@ int fptemplate(FILE* f, Lexicon* l, char* s) {
|
||||||
case '@':
|
case '@':
|
||||||
return fpbold(f, s + 1);
|
return fpbold(f, s + 1);
|
||||||
case '\\':
|
case '\\':
|
||||||
return fpstrike(f, s + 1);
|
return fpstrike(f, l, s + 1);
|
||||||
case '!':
|
case '!':
|
||||||
return fph3(f, s + 1);
|
return fph3(f, s + 1);
|
||||||
case '.':
|
case '.':
|
||||||
|
|
Loading…
Reference in a new issue