newsdev / ai2html

A script for Adobe Illustrator that converts your Illustrator artwork into an html page.
http://ai2html.org
Other
898 stars 146 forks source link

project_name no longer being used to name html file #166

Open DanielJWood opened 8 months ago

DanielJWood commented 8 months ago

In 0.155 and previous, using the project_name field in settings would be reflected in the name of the resulting .html file. I just updated to 0.120 and it appears that project_name is only lending itself to the name of the resulting image files, but not the html file.

For instance, with 0.120 a file named foo.ai with a project_name: bar yields the following two files (if there's only one artboard):

In previous iterations, the resulting files would both reflect the project name setting, such as:

This may be intentional but if not, I wanted to flag.

DanielJWood commented 1 week ago

Just bumping this to see if this is indeed a bug...the documentation still reads:

project_name
Possible values: Any string
Default: [ai file name]
By default ai2html will use the filename of your Illustrator document as the project name but you can specify a project_name to overwrite this. The project name will be used to name the exported HTML and image files.

Thus I would expect the html file to also be named according to the project_name