remove `<!DOCTYPE html>` at the beginning
Closed this issue · 3 comments
khoivan88 commented
Hi,
Thank you very much for this useful extension. I noticed that this script add <!DOCTYPE html>
at the beginning of the document which I think is unnecessary (might not need it or already exists). I was just wondering if there is an option to turn this off or maybe your reason to add it there?
Thank you very much!
Best!
vimtor commented
Hey @khoivan88! I glad it was useful ❤️
Maybe you can submit a PR with a new option called includeDoctype
that defaults to true
?
khoivan88 commented
hi @vimtor , I just created a PR. Hopefully it is the way you would like it. I'm new to JS so apology in advance for the poor coding!
Best
vimtor commented
Awesome! 👍