tgrosinger / advanced-tables-obsidian

Improved table navigation, formatting, and manipulation in Obsidian.md
GNU General Public License v3.0
2.09k stars 78 forks source link

Incorrect width of the cells when using hebrew words with vocalizations #306

Open crousap opened 9 months ago

crousap commented 9 months ago

Bug description

Incorrect width of the cells when using hebrew words with vocalizations

Elaboration

An example of a hebrew word without vocalization: "להאזין" and with "לְהַאֲזִין", the thing is that those vocalizations are not altered versions of the characters but rather a separate set of characters that I can write independently, for example "ֵ ֲ ֲ ֳ ְ". So the algorithm that counts the length of the symbols in a cell counts them and adjusts the cell accordingly even tho they practically don't take additional space.

How to reproduce

  1. Write a hebrew word with vocalization for example "לְהַאֲזִין" in a cell
  2. Press enter for cells width adjustment

Expected behavior

Expected state of the table

image

An actual state of the table

image

Debug info

ParkerRobb commented 9 months ago

I have the same problem