Westwind.HtmlPackager icon indicating copy to clipboard operation
Westwind.HtmlPackager copied to clipboard

A small utility class used to package HTML content into a self contained HTML document both as a single file, or a folder with all dependencies copied to local.

Results 4 Westwind.HtmlPackager issues
Sort by recently updated
recently updated
newest added

This fixes the issue when you provide a basePath which is not in the same folder as the htm file, like this: ``` c# string packaged = packager.PackageHtml(@"c:\temp\web\github.htm", @"c:\temp\web\GitHub_files"); ```

It seems like this tool (a great idea, btw) fails for certain websites. To reproduce, ``` htmlpackager.exe https://reclaimthenet.org/unlike-other-states-florida-says-no-to-vaccine-passports/ -o Fl.html ``` Expect it to fail, ``` [...] Error: Error writing...

Apparently, this tool will **delete all files in the directory without warning or prompting** that share the name of the file you attempted to process under a certain error condition....

Hello, First of all thanks you for your project, very helpful ! I've added support for the extraction of audio files