It is reported that this also happens in the PPWB version of PPcomp.
I think there are two bugs:
- It should obviously accept
<!DOCTYPE html> case-insensitively
- If it doesn't find that string, it then attempts to parse it as HTML4, rather than HTML5. That parsing fails, but it should output a polite message, not give a traceback
Example files to PPcomp: ducky-entertains.zip
To test:
- Try varying the case of the first line of HTML
- Try changing the first line so it doesn't match, even case-insensitively, e.g.
<!DOCTYPE rubbish>
It is reported that this also happens in the PPWB version of PPcomp.
I think there are two bugs:
<!DOCTYPE html>case-insensitivelyExample files to PPcomp: ducky-entertains.zip
To test:
<!DOCTYPE rubbish>