← every case · 6000 · another language inside the file
a closing script tag written with a space before its bracket, which is legal HTML and rare. A counter looking for the tag without the space never finds the end of the block. Every count comes out the same whether it found it or not, which is what keeps this one hidden
| 1 | codecodecodecodecode | <script> |
| 2 | code JavaScriptcode JavaScriptcode JavaScriptcode JavaScriptcode JavaScript | var x = 1; |
| 3 | codecodecodecodecode | </script > |
| 4 | codecodecodecodecode | <p>hi</p> |
stringcommentthe tag around another language
every number comes out as the rules ask while the javascript line is credited to the page and no second language is named, so nothing in the totals shows the block was never found
cloc --json cases/6000-another_language_inside_the_file/6050-script_closer_written_with_a_space/input.html
mezura cases/6000-another_language_inside_the_file/6050-script_closer_written_with_a_space/input.html --output json --hide timing --counting content
mezura cases/6000-another_language_inside_the_file/6050-script_closer_written_with_a_space/input.html --output json --hide timing --counting region
the block is not found, so its line is counted as the page and not as JavaScript
scc --format json cases/6000-another_language_inside_the_file/6050-script_closer_written_with_a_space/input.html
the block is not found, so its line is counted as the page and not as JavaScript
tokei --output json cases/6000-another_language_inside_the_file/6050-script_closer_written_with_a_space/input.html