Skip to main content

A tool to inline CSS files into HTML.

Project description

HTML utils

Removing Comments from files

Comments are not being removed when:

  • there is a " or a ' in the same line.
  • there is a [finalComment] in the Comment. All other Comments are removed.


jsFile.removeComments("//", "/*", "*/")


Uglify removes all the \n



Change images to base64

Replaces the source in <img>-Tags with the Base64 String of the image. Accepted image types are:

  • bmp
  • gif
  • jpeg
  • png
  • svg



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for html-utils-becothal, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size html_utils_becothal-1.3-py3-none-any.whl (5.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size html_utils_becothal-1.3.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page