Files
ReaderJS/.gitattributes
adminandClaude Opus 4.8 e1ea9e4385 chore: add .gitattributes marking binary assets
core.autocrlf=true would otherwise rewrite LF->CRLF in checked-out binaries
(the uncompressed sample PDFs especially), corrupting their byte offsets. Mark
PDFs, images, fonts, e-books and Office files as binary so git leaves them alone.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 23:38:17 +02:00

35 lines
614 B
Plaintext

# Binary assets — never apply line-ending conversion (it corrupts byte offsets,
# e.g. in uncompressed PDFs and font/image tables).
*.pdf binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.avif binary
*.bmp binary
*.ico binary
*.tif binary
*.tiff binary
*.djvu binary
*.djv binary
*.epub binary
*.mobi binary
*.azw3 binary
*.fb2 binary
*.cbz binary
*.cbr binary
*.cbt binary
*.docx binary
*.doc binary
*.xlsx binary
*.pptx binary
*.odt binary
*.ods binary
*.odp binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
*.wasm binary