mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-23 04:55:15 +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
Notes:
sideshowbarker
2024-07-19 01:10:13 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/70946977434 Pull-request: https://github.com/SerenityOS/serenity/pull/4255
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();
|
||||
for (auto ch : delimiter) {
|
||||
if (ch != '-') {
|
||||
#ifdef DEBUG_MARKDOWN
|
||||
dbg() << "Invalid character _" << ch << "_ in table heading delimiter (ignored)";
|
||||
#endif
|
||||
--relative_width;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue