tomd icon indicating copy to clipboard operation
tomd copied to clipboard

Output is not clean with \n\t

Open icehongssii opened this issue 6 years ago • 0 comments

Problem

The result of processed data can't build correct table in markdown.

Solution

It seems that \n\t have to be deleted before the html data process

Input

` table='''

head1 head2 head3
content1 content2 content3
''' `

Process

md = Tomd(table).markdown

Output of md

`

                |head1            |head2            |head3        
|------
        |content1|            |content2|            |content3|        

`

icehongssii avatar Oct 08 '18 13:10 icehongssii