Roundcube Community Forum

Release Support => Requests => Topic started by: Leen15 on November 17, 2013, 07:32:40 AM

Title: Plain Text to HTML
Post by: Leen15 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:

(http://i.snag.gy/jl1bx.jpg)


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:
    $('#'+id).val(plain ? '<pre>'+plain+'</pre>' : '');

For now i changed it with:
    $('#'+id).val(plain ? '<p>'+plain+'</p>' : '');

Thanks.