← every case · 6000 · another language inside the file
HTML has no strings of its own, so the apostrophe in the word it's is text like everything around it and opens nothing
| 1 | codecodecodecodecode | <p>it's fine, an apostrophe is not a string</p> |
| 2 | commentscommentscommentscommentscomments | <!-- a real comment --> |
| 3 | codecodecodecodecode | <p>more markup</p> |
stringcommentthe tag around another language
cloc --json cases/6000-another_language_inside_the_file/6010-html_has_no_strings/input.html
mezura cases/6000-another_language_inside_the_file/6010-html_has_no_strings/input.html --output json --hide timing --counting content
mezura cases/6000-another_language_inside_the_file/6010-html_has_no_strings/input.html --output json --hide timing --counting region
scc --format json cases/6000-another_language_inside_the_file/6010-html_has_no_strings/input.html
the apostrophe opens a string, so the comment under it is counted as markup
tokei --output json cases/6000-another_language_inside_the_file/6010-html_has_no_strings/input.html