projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d0329
)
[cnp_helper] add processing LM_SEL_FORMAT_HTML type in text conv
author
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Wed, 20 Oct 2010 12:31:15 +0000
(21:31 +0900)
committer
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Wed, 20 Oct 2010 12:31:15 +0000
(21:31 +0900)
src/lib/elm_cnp_helper.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_cnp_helper.c
b/src/lib/elm_cnp_helper.c
index
d80fdd8
..
31e5839
100644
(file)
--- a/
src/lib/elm_cnp_helper.c
+++ b/
src/lib/elm_cnp_helper.c
@@
-20,7
+20,7
@@
# define ARRAYINIT(foo) [foo]=
-#define DEBUGON
0
+#define DEBUGON
1
#if DEBUGON
#define cnp_debug(x...) printf(__FILE__": " x)
@@
-883,7
+883,7
@@
text_converter(char *target __UNUSED__, void *data, int size __UNUSED__,
if (sel->format == ELM_SEL_FORMAT_MARKUP){
*data_ret = remove_tags(sel->selbuf, size_ret);
- } else if (sel->format == ELM_SEL_FORMAT_TEXT){
+ } else if (sel->format == ELM_SEL_FORMAT_TEXT
|| sel->format == ELM_SEL_FORMAT_HTML
){
*data_ret = strdup(sel->selbuf);
*size_ret = strlen(sel->selbuf);
} else if (sel->format == ELM_SEL_FORMAT_IMAGE){