wareya / nazeka

Nazeka is a rikai replacement
https://addons.mozilla.org/en-US/firefox/addon/nazeka/
50 stars 8 forks source link

NHK Easy furigana included in mined sentence #9

Closed o0o0 closed 5 years ago

o0o0 commented 5 years ago

When mining a word in a sentence with ruby text/furigana, the furigana is included inline in the sentence. For example, when I mine a word in the first sentence of this article the sentence field contains the following in Anki:

アメリカは、イランが石油せきゆなどを輸出できないようにする「経済制裁」を日本にっぽんの時間の5日の午後2時過ぎに始めました

It seems to only affect words that have additional styling in the article like 日本 and 石油 but not 午後.

wareya commented 5 years ago

Tentatively fixed in https://github.com/wareya/nazeka/commit/f3e1084324a4b17c3f561430ef8318d31053ad09

wareya commented 5 years ago

It looks like my fix for this caused other problems. I'm planning on uploading an update soon (i.e. within several days from now) so I'll decide whether to ship it with the broken fix or to fix the fix.

wareya commented 5 years ago

I figured out the problem with the fix and fixed it. I'll push an update in a few days.