ai2html icon indicating copy to clipboard operation
ai2html copied to clipboard

ai2html with the same IDs don't load properly

Open wmandrews opened this issue 6 years ago • 1 comments

Possibly don't rely on IDs?

wmandrews avatar Aug 06 '18 17:08 wmandrews

Ai2html currently generates ids for many elements under the assumption that when multiple ai2html graphics are embedded on a single page, they have unique 'project' names. (Project names are based on the .ai file name).

So if the same graphic is embedded multiple times, you'll get duplicate ids, and some things might break, including the built-in lazy image loader.

We should look into not relying on ids, like Wilson suggested above.

mbloch avatar Dec 21 '18 16:12 mbloch