Skip to content

Commit

Permalink
Updating RTF Magic number to match <https://www.iana.org/assignments/…
Browse files Browse the repository at this point in the history
…media-types/application/rtf> (#544)

Co-authored-by: zdiff <zdiff@localhost>
  • Loading branch information
zdiff and zdiff authored Jun 18, 2024
1 parent 3267116 commit 8329892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/magic/text.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ var (
[]byte("/usr/bin/env wish"),
)
// Rtf matches a Rich Text Format file.
Rtf = prefix([]byte("{\\rtf1"))
Rtf = prefix([]byte("{\\rtf"))
)

// Text matches a plain text file.
Expand Down

0 comments on commit 8329892

Please sign in to comment.