diff --git a/Userland/Libraries/LibPDF/Parser.cpp b/Userland/Libraries/LibPDF/Parser.cpp index 672f831680e..cd52d641c3e 100644 --- a/Userland/Libraries/LibPDF/Parser.cpp +++ b/Userland/Libraries/LibPDF/Parser.cpp @@ -530,6 +530,7 @@ PDFErrorOr> Parser::parse_operators() m_reader.consume_whitespace(); while (!m_reader.done()) { + parse_comment(); auto ch = m_reader.peek(); if (is_operator_char_start(ch)) { auto operator_start = m_reader.offset();