Author Topic: Plain Text to HTML  (Read 3074 times)

Offline Leen15

  • Newbie
  • *
  • Posts: 1
Plain Text to HTML
« on: November 17, 2013, 07:32:40 AM »
Hi to all, i hope this is the right section.

When plain text is converted to HTML it results that the text is put between <pre></pre> tag and the recipients see it in very bad formatting:




Is possible in the next release to change it from pre tag to a more readable tag?

The issue (0.9.5) is in \program\js\app.js.src at line 6093:
Code: [Select]
    $('#'+id).val(plain ? '<pre>'+plain+'</pre>' : '');
For now i changed it with:
   
Code: [Select]
$('#'+id).val(plain ? '<p>'+plain+'</p>' : '');
Thanks.