def html_tag(self, template, logical_path, debug=False):
        environment = self.get_environment(current_app)
        if debug or self.debug(current_app):
            asset = build_asset(environment, logical_path)
            urls = []
            for requirement in asset.requirements:
                logical_path = requirement.attributes.logical_path
                url = url_for('static', filename=logical_path, body=1)
                urls.append(url)
        else:
            if logical_path in environment.manifest.files:
                logical_path = environment.manifest.files[logical_path]
            urls = (url_for('static', filename=logical_path),)
        return Markup('\n'.join(template.format(url=url) for url in urls))
dataset/ETHPy150Open gears/flask-gears/flask_gears.py/Gears.html_tag/original