github-linguist / linguist

Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
MIT License
12.36k stars 4.27k forks source link

Dashes in HTML comments should not be highlighted as an error #3232

Closed zcorpan closed 8 years ago

zcorpan commented 8 years ago

Example:

```html
<!--------------------------------->

->

``` html
<!--------------------------------->

should be without error syntax highlight; see https://github.com/whatwg/html/issues/1351

zcorpan commented 8 years ago

See https://github.com/whatwg/html/pull/1356#issuecomment-222793570 for test cases

Alhadis commented 8 years ago

Linguist only selects the grammars that provide syntax highlighting on GitHub. For HTML, highlighting is provided by textmate/html.tmbundle. You're better off filing an issue there.

zcorpan commented 8 years ago

OK thanks!