Closed ramonribeiro96 closed 4 years ago
I'm trying to convert this:
let text = Converter.convertHtmlToRtf('<p>TESTE2</p><ul><li> TESTE</li></ul><ol><li> outro</li></ol>')
but, my return is this:
{\rtf1\ansi\deff0{\fonttbl {\f0\fnil\fcharset0 Calibri;}{\f1\fnil\fcharset2 Symbol;}}{\colortbl ;}{\pard TESTE2 \sb70\par}{{\*\pn\pnlvlblt\pnf1\pnindent0{\pntxtb\'B7}}\fi-360\li720\sa200\sl276\slmult1\lang22\f0\fs22{\pntext\tab} TESTE \par}{{\*\pn\pnlvlbody\pnf0\pnindent0\pnstart1\pndec{\pntxta.}}\fi-360\li720\sa200\sl276\slmult1{\pntext\tab} outro \par}}
What's the problem? This .rtf generate this output: TESTE2 TESTE outro
I'm trying to convert this:
let text = Converter.convertHtmlToRtf('<p>TESTE2</p><ul><li> TESTE</li></ul><ol><li> outro</li></ol>')
but, my return is this:
{\rtf1\ansi\deff0{\fonttbl {\f0\fnil\fcharset0 Calibri;}{\f1\fnil\fcharset2 Symbol;}}{\colortbl ;}{\pard TESTE2 \sb70\par}{{\*\pn\pnlvlblt\pnf1\pnindent0{\pntxtb\'B7}}\fi-360\li720\sa200\sl276\slmult1\lang22\f0\fs22{\pntext\tab} TESTE \par}{{\*\pn\pnlvlbody\pnf0\pnindent0\pnstart1\pndec{\pntxta.}}\fi-360\li720\sa200\sl276\slmult1{\pntext\tab} outro \par}}