github gildas-lormeau/single-file-cli v2.21.1

3 hours ago

SingleFile CLI 2.21.1

CLI fixes and improvements

  • Updated single-file-core to 1.8.1
    • Filename templates: the spaces written in the template are kept instead of being collapsed into a single space (#2042 by @beachbum9). Tabs, line breaks and other whitespace characters are still replaced with spaces, one for one.
    • Filename templates: a substitution rule that removes characters, and the "replace emojis with text" option, no longer leave two spaces around the removed character or a space before the file extension.
    • Filename templates: a folder name ending with a dot no longer loses its separator ("docs./file" was saved as "docs._file"), a ".." segment is removed as a whole segment instead of wherever "../" appears, and trailing dots and spaces are removed from every folder name.
    • A missing image is no longer requested a second time when its currentSrc is the same URL as its src, which doubled the network wait on slow or unavailable images (gildas-lormeau/single-file-core#11 by @pirate)

Co-authored by Claude (Claude Code)

Don't miss a new single-file-cli release

NewReleases is sending notifications on new releases.