Skip to content

Indentation issues in text editors / email #2

@assafmilman

Description

@assafmilman

Hi, I'm trying to integrate tabulate into a service which sends emails with tabular data.
After creating the tabulate object, I convert to string (printing it looks great in pycharm) and then send by email.

When the recipient gets the email (Gmail in our case), the table's indentations is all wrong.
BUT - when copying the table from the email back to sublime text editor, the indentation looks great!
See the attached screenshots, it'll make more sense.

I understand this is NOT a tabulate issue as this was probably not the original intention, but thought it was worth asking if you can think of a reason why this happens, and maybe if you can think of a solution.

In Gmail:
tabulate_in_gmail

Sublime (after copying form email))
tabulate_in_sublime

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions