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:
@ -1,3 +1,8 @@
|
|||||||
|
2001-10-23 Dan Winship <danw@ximian.com>
|
||||||
|
|
||||||
|
* e-html-utils.c (e_text_to_html_full): Change " " to " " at
|
||||||
|
start of line.
|
||||||
|
|
||||||
2001-10-22 Dan Winship <danw@ximian.com>
|
2001-10-22 Dan Winship <danw@ximian.com>
|
||||||
|
|
||||||
* e-passwords.c (e_passwords_get_password): Pass a
|
* e-passwords.c (e_passwords_get_password): Pass a
|
||||||
|
@ -375,7 +375,8 @@ e_text_to_html_full (const char *input, unsigned int flags, guint32 color)
|
|||||||
case ' ':
|
case ' ':
|
||||||
if (flags & E_TEXT_TO_HTML_CONVERT_SPACES) {
|
if (flags & E_TEXT_TO_HTML_CONVERT_SPACES) {
|
||||||
if (cur == (const unsigned char *)input ||
|
if (cur == (const unsigned char *)input ||
|
||||||
*(cur + 1) == ' ' || *(cur + 1) == '\t') {
|
*(cur + 1) == ' ' || *(cur + 1) == '\t' ||
|
||||||
|
*(cur - 1) == '\n') {
|
||||||
strcpy (out, " ");
|
strcpy (out, " ");
|
||||||
out += 6;
|
out += 6;
|
||||||
col++;
|
col++;
|
||||||
|
Reference in New Issue
Block a user