single-file-core 1.2.26 → 1.2.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16867,6 +16867,7 @@ export { formatFilename, evalTemplate };
16867
16867
 
16868
16868
  async function formatFilename(content, doc, options, util) {
16869
16869
  let filename = (await evalTemplate(options.filenameTemplate, options, util, content, doc)) || "";
16870
+ filename = filename.trim();
16870
16871
  if (options.replaceEmojisInFilename) {
16871
16872
  EMOJIS.forEach(emoji => (filename = replaceAll(filename, emoji, " _" + EMOJI_NAMES[emoji] + "_ ")));
16872
16873
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "single-file-core",
3
- "version": "1.2.26",
3
+ "version": "1.2.27",
4
4
  "description": "SingleFile Core",
5
5
  "author": "Gildas Lormeau",
6
6
  "license": "AGPL-3.0-or-later",