fix project_name parameter bug by DanielJWood · Pull Request #176 · newsdev/ai2html
Possible fix for #166. After the fix, when you have a project_name param, your artboard images AND your html file all have a name that reflects the project_name param. If no param is indicated, it still defaults back to the illustrator file name, as intended.
Worth noting that output: multiple-files already prints out filenames that match the project_name parameter. This change brings output: one-file settings in line with that and with previous versions of ai2html.
If the current setup (always using getRawDocumentName() for one-file projects) is intended behavior, feel free to close this PR.