Closed dennyabrain closed 7 years ago
hey,
thats exactly what solved the problem for me :) i tried to delete the issue because I felt this wasn't really a problem with the library itself. I can add the text back if you want or feel free to delete the issue.
OK. Great. Thanks for letting me know.
On Mon, Mar 27, 2017 at 8:35 AM, Denny George notifications@github.com wrote:
hey,
thats exactly what solved the problem for me :) i tried to delete the issue because I felt this wasn't really a problem with the library itself. I can add the text back if you want or feel free to delete the issue.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cwjohan/markdown-to-html/issues/14#issuecomment-289491666, or mute the thread https://github.com/notifications/unsubscribe-auth/AH5q3BoUyC2W4YKH-urn9ua9XXTsmzJGks5rp9dQgaJpZM4Mpnjh .
Denny, I think it has never been tested this way. Perhaps there is something about the Markdown object that is not reusable. The test of that would be to move the "let md = new Markdown();" statement into your logic loop so that it is created every time the loop cycles. Seems a bit inefficient, but worth a try. Maybe the Markdown class needs some reset function to set up its internal pointers for reuse. It may already have one. I haven't looked at the code for a very long time now and don't recall.
On Sun, Mar 26, 2017 at 3:43 PM, Denny George notifications@github.com wrote: