LibMarkdown: Reduce debug spam from invalid characters in table headings

Happens a lot when fuzzing.
This commit is contained in:
Luke 2020-11-29 23:23:24 +00:00 committed by Andreas Kling
parent 030dac8c4d
commit 7094697743
Notes: sideshowbarker 2024-07-19 01:10:13 +09:00

View file

@ -186,7 +186,9 @@ OwnPtr<Table> Table::parse(Vector<StringView>::ConstIterator& lines)
size_t relative_width = delimiter.length();
for (auto ch : delimiter) {
if (ch != '-') {
#ifdef DEBUG_MARKDOWN
dbg() << "Invalid character _" << ch << "_ in table heading delimiter (ignored)";
#endif
--relative_width;
}
}