Strip content of the title tag (fix #124)

Tests were added accordingly.