Open haje01 opened 9 years ago
Thanks Kim, I'll dive into it shortly
On Thu, Jun 25, 2015 at 6:43 AM, Kim Jeong Ju notifications@github.com wrote:
Magic Table feature has a flaw with CJK(Chinese, Japanese, Korean) characters. Following text:
aa b.b. 가 나
will be converted into:
+----+----+ | aa | bb | +====+====+ | 가 | 나 | +----+----+
which generates 'Malformed Table' error with Sphinx. Right conversion will be:
+----+----+ | aa | bb | +====+====+ | 가 | 나 | +----+----+
I guess you should count a CJK character takes two-spaces. Vim's RST table plugin also has same issue. So, there are specific plugin to solve this:
https://github.com/vim-scripts/RST-Tables-CJK
I hope you can fix it without much trouble. Thank you.
— Reply to this email directly or view it on GitHub https://github.com/mgaitan/sublime-rst-completion/issues/83.
mgaitan.github.io textosypretextos.com.ar
Magic Table feature has a flaw with CJK(Chinese, Japanese, Korean) characters. Following text:
will be converted into:
which generates 'Malformed Table' error with Sphinx. Right conversion will be:
I guess you should count a CJK character takes two-spaces. Vim's RST table plugin also has same issue. So, there are specific plugin to solve this:
https://github.com/vim-scripts/RST-Tables-CJK
Following python package might be handy for you:
https://pypi.python.org/pypi/wcwidth/
I hope you can fix it without much trouble. Thank you.