hexo
hexo copied to clipboard
WIP: Allow `publish` handle files with filenames separated by spaces
Allow the publish command to handle files with filenames separated by spaces in the _draft folder.
What does it do?
The update enables filenames to include spaces in the _draft
folder.
However, the source code modifies the original filename(data.slug
) and then incorrectly compares it with the filenames in the _draft
folder, leading to erroneous results.