JP Moresmau created TIKA-2321:
---------------------------------
Summary: Python file identified as troff if it starts by a
multiline comment
Key: TIKA-2321
URL: https://issues.apache.org/jira/browse/TIKA-2321
Project: Tika
Issue Type: Bug
Components: detector
Affects Versions: 1.14
Environment: Windows
Reporter: JP Moresmau
I have a python file, whose name ends with .py. It starts with a multiline
comment:
```
'''
This is a multiline comment
'''
import ...
```
Tika 1.14 tells me this is text/troff because it has some magic detection
looking at starting quotes.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)