Fixed doctypeProvided callback.

Signed-off-by: J. Renée Beach <splendidnoise@gmail.com>