aboutsummaryrefslogtreecommitdiffstats
path: root/src/el_cdata.cpp
blob: c3b431b3f705227ab3fb4a5c4d703511f090e812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "el_cdata.h"

litehtml::el_cdata::el_cdata(const std::shared_ptr<document>& doc) : element(doc)
{
	//m_skip = true;
}

void litehtml::el_cdata::get_text( string& text )
{
	text += m_text;
}

void litehtml::el_cdata::set_data( const char* data )
{
	if(data)
	{
		m_text += data;
	}
}