Skip to content

Commit 3bd9155

Browse files
petervwyattjneen
andauthored
Update lib/rouge/lexers/pdf.rb
Co-authored-by: Jeanine Adkisson <jeanine.adkisson@gmail.com>
1 parent 7509fe3 commit 3bd9155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rouge/lexers/pdf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def self.detect?(text)
6969
rule %r/endstream|endobj|stream/, Keyword::Declaration
7070

7171
# PDF conventional file layout keywords
72-
rule %r/(startxref|trailer|xref)/, Keyword::Declaration
72+
rule %r/startxref|trailer|xref/, Keyword::Declaration
7373

7474
# PDF cross reference section entries (20 bytes including EOL).
7575
# Explicit single SPACE separators.

0 commit comments

Comments
 (0)