Bug in migaku syntax
I have my main sentence mining deck all made with old migaku add-ons and syntax configs, which was normally functioning showing the parse and coloring correctly. After I update for the new version of the add-ons, all my cards with the old migaku note type are with the syntax/coloring messed up, as it shows in the first print. This is after I tryed to remove the syntax from all my cards on this deck from all fields ("sentence", "definitions" and "target word" were with syntax added) and then add just to the sentence field. If I add to other fields besides "sentence", the bug occurs just as shows in the second print.
For example, the sentence without syntax is: それに神様っていうのは 結構 大ざっぱな連中なんだ
With syntax added is: それに[;h] 神様[かみさま;a] っていう の は 結構[けっこう;a] 大[おお;n3]ざっぱ な 連中[れんちゅう;h] なん だ
If I remove manually one space before 結構[けっこう;a] and 大[おお;n3]ざっぱ, in the sentence field for example ( それに[;h] 神様[かみさま;a] っていう の は 結構[けっこう;a] 大[おお;n3]ざっぱ な 連中[れんちゅう;h] なん だ), the syntax/coloring seems to be fixed, as it shows in the third print.
So it seems to be the space before a word messing up all the coloring. The problem is that it is a whole lot of cards with this problem which was not occuring with the old syntax from the legacy migaku anki add-on (the last version without having to update the anki a few days ago).
Not only that, but I tested with some random subtitle lines from a local file which I was mining before the update and all running ok, and even with the new migaku note type ("migaku sentence" instead of "migaku japanese sentence") and the exact same problem occurs when a word have (has? Not very good english) a space before it, as it shows in the last print.
If you manually create a card with the same sentence manually, without any space, the syntax turns out fine. The problem is that basically every subtitle of every content have a space between words here and there.
Anki 2.1.49 (dc80804a)
Migaku browser add-on version: 0.9.9.2
Migaku anki add-on: 0.1.0-alpha.17
Migaku kanji add-on (not sure if it's necessary): 1.0.0-beta.12
Migaku MPV version: V0.7.3
Windows 10 pro 10.0.19043 compilation 19043
SteviMigaku last edited by
Bent is aware of this issue and will fix it with the next update.