I am using Pandoc to convert dumb quotes to smart quotes in HTML. The HTML is on my MacOS clipboard:
pbpaste | pandoc -t html+smart | pbcopy
The output begins with
<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”>
and a blank line.
Is it possible to turn this off?