Ajatt-Tools / Japanese

🍚 Automatically generate furigana and other data on Anki cards.
https://ankiweb.net/shared/info/1344485230
GNU Affero General Public License v3.0
34 stars 7 forks source link

Pitch CSS Style breaks after 9/25/2023 update #4

Open Gin-no-kami opened 1 year ago

Gin-no-kami commented 1 year ago

The settings that I was using for the Pitch CSS Style no longer works after the 09/25/2023 update. Did something change that I need to update my CSS style for? Below is an example:

In Config: "styles": { "ꜜ": "<span class=\"downstep\"><span class=\"downstep-inner\">ꜜ", "class=\"overline\"": "style=\"text-decoration:overline;\" class=\"pitchoverline\"" }

Word: 相違[そうい]

Before: ソーイ After: ソーイ

As you can see I am no longer getting the class to be included when the Pitch CSS is generated. This causes issue for my card type (JPMN), as it relied on having that class to properly determine how to display things.

tatsumoto-ren commented 1 year ago

A while ago we changed the way people configure styles. The docs can be seen here.

the 09/25/2023 update didn't bring any new changes.