1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:08:13 +00:00

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

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;
}
}