18 #pragma GCC diagnostic push
19 #pragma GCC diagnostic ignored "-Wextra-semi"
20 #pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
22 #pragma GCC diagnostic pop
26 const sword::SWKey * ,
27 const sword::SWModule * )
29 sword::SWBuf orig = text;
30 const char * from = orig.c_str();
31 bool inFootNote =
false;
33 for (text =
"<p>"; *from; from++) {
37 if (text.size() > 3) {
38 if (from[1] ==
'\n') {
42 }
while (from[1] ==
'\n');
78 text +=
"<span class=\"footnote\">";
99 qWarning() <<
"PlainToHtml filter detected missing footnote end.";
char processText(sword::SWBuf &buf, const sword::SWKey *key, const sword::SWModule *module=nullptr) override