-
Bug
-
Resolution: Fixed
-
Low
-
5.1.0, 5.0.5
-
None
-
Severity 2 - Major
-
Summary
Configuring syntax highlighting for custom file extensions does not take effect
Steps to Reproduce
- In bitbucket.properties add an entry for extension e.g. for .csproj syntax.highlighter.application/xml.extensions=csproj
- Restart Bitbucket server
- Add a file with .csproj extension and some XML content
- Browse the file
Expected Results
Content is highlighted as https://codemirror.net/mode/xml/index.html
Actual Results
Content is not highlighted
Note: This issue has also been seen to affect standard file extension detection, where the wrong syntax highlighting may be seen to be applied to standard file extensions (e.g. Objective-C may have Mathematica highlighting incorrectly applied)
- is duplicated by
-
BSERV-10054 BitBucket server: configuration of syntax highlighting for file extensions not working
- Closed
- mentioned in
-
Page Failed to load