Modified replacements.py to make HTML generated a bit more legible, with indentation.
Added <!DOCTYPE html> to replacements.py