Merge pull request #1962 from RobertSchouten/patch-44
Bugfix cropped email text
This commit is contained in:
commit
a7e57a9d5e
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ frappe.markdown = function(txt) {
|
|||
var whitespace_len = 0,
|
||||
first_line = txt.split("\n")[0];
|
||||
|
||||
while([" ", "\n", "\t"].indexOf(first_line.substr(0,1))!== -1) {
|
||||
while(["\n", "\t"].indexOf(first_line.substr(0,1))!== -1) {
|
||||
whitespace_len++;
|
||||
first_line = first_line.substr(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue