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

litehtml::el_para::el_para(const std::shared_ptr<document>& doc) : html_tag(doc)
{
}

void litehtml::el_para::parse_attributes()
{
	const char* str = get_attr("align");
	if(str)
	{
		m_style.add_property(_text_align_, str);
	}

	html_tag::parse_attributes();
}