(f *core.File)
| 18 | var heading = regexp.MustCompile(`^h\d$`) |
| 19 | |
| 20 | func (l *Linter) lintHTML(f *core.File) error { |
| 21 | if l.Manager.Config.Flags.Built != "" { |
| 22 | return l.lintTxtToHTML(f) |
| 23 | } |
| 24 | return l.lintHTMLTokens(f, []byte(f.Content), 0) |
| 25 | } |
| 26 | |
| 27 | type extensionConfig struct { |
| 28 | Normed, Real string |
no test coverage detected