You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like this issue is caused by the use of textwrap.fill (table_to_ascii.py#L309) which internally removes whitespace before redividing the lines.
We probably could resolve this by checking if the widest line is already smaller than the cell's inner width and not use textwrap.fill when it's not needed such as in your example.
Thanks for swift response and effort!
I'll be honest, i'm not acknowledged with internals of this library, so whatever fixes the issue itself works for me!
So consider following table:
Basically what i want is that every ability name to be on a new line, inside a cell
What i get instead is this:
Note how Omnislash is merged with Soul in this case, while Assumption is moved to a new line.
Is there a sane way to avoid this (especially without replacing spaces in names with characters or w/e), or tell library to respect line breaks?
The text was updated successfully, but these errors were encountered: