repo.or.cz
/
claws.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add support for Ayatana indicator to Notification plugin
[claws.git]
/
src
/
plugins
/
litehtml_viewer
/
litehtml
/
el_cdata.cpp
blob
e5948bff13dfe9f609858c4d8813bd963a53d4af
1
#include
"html.h"
2
#include
"el_cdata.h"
3
4
litehtml
::
el_cdata
::
el_cdata
(
const
std
::
shared_ptr
<
document
>&
doc
) :
element
(
doc
)
5
{
6
//m_skip = true;
7
}
8
9
void
litehtml
::
el_cdata
::
get_text
(
string
&
text
)
10
{
11
text
+=
m_text
;
12
}
13
14
void
litehtml
::
el_cdata
::
set_data
(
const char
*
data
)
15
{
16
if
(
data
)
17
{
18
m_text
+=
data
;
19
}
20
}