#!/usr/bin/env python import warnings as _warnings _warnings.resetwarnings() _warnings.filterwarnings('error') # BEGIN INCLUDE from tdi.tools import html def keep_foo(comment): if comment == "": return comment print html.minify(u""" Hello World!

Hello World!

""".lstrip(), comment_filter=keep_foo)