Fixed comment deletion bug and adding tag stripping to outputs