Change " " to " " at start of line.
* e-html-utils.c (e_text_to_html_full): Change " " to " " at start of line. svn path=/trunk/; revision=13940
This commit is contained in:
@ -375,7 +375,8 @@ e_text_to_html_full (const char *input, unsigned int flags, guint32 color)
|
||||
case ' ':
|
||||
if (flags & E_TEXT_TO_HTML_CONVERT_SPACES) {
|
||||
if (cur == (const unsigned char *)input ||
|
||||
*(cur + 1) == ' ' || *(cur + 1) == '\t') {
|
||||
*(cur + 1) == ' ' || *(cur + 1) == '\t' ||
|
||||
*(cur - 1) == '\n') {
|
||||
strcpy (out, " ");
|
||||
out += 6;
|
||||
col++;
|
||||
|
Reference in New Issue
Block a user