mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
LibMarkdown: Reduce debug spam from invalid characters in table headings
Happens a lot when fuzzing.
This commit is contained in:
parent
030dac8c4d
commit
7094697743
1 changed files with 2 additions and 0 deletions
|
@ -186,7 +186,9 @@ OwnPtr<Table> Table::parse(Vector<StringView>::ConstIterator& lines)
|
||||||
size_t relative_width = delimiter.length();
|
size_t relative_width = delimiter.length();
|
||||||
for (auto ch : delimiter) {
|
for (auto ch : delimiter) {
|
||||||
if (ch != '-') {
|
if (ch != '-') {
|
||||||
|
#ifdef DEBUG_MARKDOWN
|
||||||
dbg() << "Invalid character _" << ch << "_ in table heading delimiter (ignored)";
|
dbg() << "Invalid character _" << ch << "_ in table heading delimiter (ignored)";
|
||||||
|
#endif
|
||||||
--relative_width;
|
--relative_width;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue