EHTMLEditorView - Don't try to preserve the text blocks when parsing content
It will be enabled again after the 3.16 is branched so we can improve it.
This commit is contained in:
@ -65,6 +65,8 @@
|
||||
#define HTML_KEY_CODE_SPACE 32
|
||||
#define HTML_KEY_CODE_DELETE 46
|
||||
|
||||
#define TRY_TO_PRESERVE_BLOCKS 0
|
||||
|
||||
/**
|
||||
* EHTMLEditorView:
|
||||
*
|
||||
@ -4483,7 +4485,7 @@ parse_html_into_paragraphs (EHTMLEditorView *view,
|
||||
while (next_br) {
|
||||
gboolean local_ignore_next_br = ignore_next_br;
|
||||
gboolean local_preserve_next_line = preserve_next_line;
|
||||
gboolean preserve_block = TRUE;
|
||||
gboolean preserve_block = TRY_TO_PRESERVE_BLOCKS;
|
||||
const gchar *citation = NULL, *citation_end = NULL;
|
||||
const gchar *rest = NULL, *with_br = NULL;
|
||||
gchar *to_insert = NULL;
|
||||
|
||||
Reference in New Issue
Block a user