1
0
Fork 0
Commit graph

1 commit

Author SHA1 Message Date
Sergio Rubio
304f8638c5
Test for couldBeMarkdown (#46)
* Test for couldBeMarkdown

couldBeMarkdown is greedy, and makes the processing[^1] step set the content
type of HTML and plain text files as text/markdown.

This has the side effect of excluding text file from in database
storage, since that only happens for text/plain files[^2]

[^1]: 8f0f491ad5/timeline/processing.go (L1479)
[^2]: https://github.com/timelinize/timelinize/pull/45#issuecomment-2325018564

* Add HTML test

* gofmt
2024-09-04 09:21:49 -06:00