Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with combining characters #10

Open
jgm opened this issue Oct 17, 2023 · 0 comments
Open

Problem with combining characters #10

jgm opened this issue Oct 17, 2023 · 0 comments
Assignees

Comments

@jgm
Copy link
Collaborator

jgm commented Oct 17, 2023

The following table

+-----------+-------+
| a         | back  |
+===========+=======+
| ø̞         | o̞     |
+-----------+-------+

gets parsed as having rowspans:

ArrayTable {arrayTableCells = array ((1,1),(2,2)) [((1,1),ContentCell 2 1 [" a         ","==========="," \248\798         "]),((1,2),ContentCell 2 1 [" back  ","======="," o\798     "]),((2,1),ContinuationCell (1,1)),((2,2),ContinuationCell (1,2))], arrayTableHead = Nothing, arrayTableFoot = Nothing, arrayTableColSpecs = array (1,2) [(1,(AlignDefault,11)),(2,(AlignDefault,7))]

Replacing the accented characters (formed with combining accents) with regular ascii letters makes the problem go away, so I assume it has to do with character width calculations.

Originally jgm/pandoc#9145.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants