zhongzhong icon indicating copy to clipboard operation
zhongzhong copied to clipboard

Ruby-ized text prevented the extension from detecting word with two or more syllables

Open ienablemuch opened this issue 5 years ago • 2 comments

The extension works exceptionally well, it can even detect words with two syllables (or more) that chinese peraperakun cannot. I really love this utility.

However with ruby-ized texts, words with two syllables (or more), made the extension sees individual hanzi only. Thus what normally works...

image

...does not work with ruby-ized hanzis. Example of ruby-ized hanzis:

image

The extension see individual hanzi only:

image

Here's ruby-ized hanzis in HTML form:

<td><ruby>不<rt>bù</rt></ruby><ruby>明<rt>míng</rt></ruby><ruby>白<rt>bái</rt></ruby></td>

ienablemuch avatar Aug 09 '19 09:08 ienablemuch

I'll take a look and see if this can be done.

PabloRomanH avatar Aug 14 '19 03:08 PabloRomanH

Test here: https://www.w3schools.com/code/tryit.asp?filename=G08ZZXDZJ7MX

PabloRomanH avatar Nov 23 '19 07:11 PabloRomanH