remove_doctype: Strip <!DOCTYPE html> from a file

Description Usage Arguments Value

Description

Rewrites an HTML file with the <!DOCTYPE html> tag removed.

Usage

1

Arguments

input

Path of the HTML file.

Value

Integer indicating how many lines were removed. Should generally only return 1, but the number may be useful for debugging unexpected behavior.


benjcunningham/ben documentation built on May 12, 2019, 11:55 a.m.