shardofhonor/dominion-card-generator

This is not in the Supply

Closed this issue · 1 comments

It's not possible to add (This is not in the Supply.) like in the official cards, because the line gets cut off. This also causes the word "Supply" to not be in italic, which is probably a bug?

One thing to note is that it stays in a single line if you don't add the italic mark. The italic doesn't seem to add much width to the text, so it looks like maybe the [i] is taken into account as 3 extra characters when deciding to add a line break.

It works fine it you write "supply" instead of "Supply" and there's even a special string for that in the code, it just bugs me that it doesn't exactly match the official cards 😅

Text in each image:
[i](This is not in the Supply.)
(This is not in the Supply.)

Thanks! I've fixed the issue. (might require clearing of the cache, at least for the .js-file)
Example: Horse is now working.