Update litehtml_viewer to build on Windows
[claws.git] / src / plugins / litehtml_viewer / litehtml / el_para.cpp
1 #include "html.h"
2 #include "el_para.h"
3 #include "document.h"
4
5 litehtml::el_para::el_para(const std::shared_ptr<litehtml::document>& doc) : litehtml::html_tag(doc)
6 {
7 }
8
9 litehtml::el_para::~el_para()
10 {
11
12 }
13
14 void litehtml::el_para::parse_attributes()
15 {
16         const tchar_t* str = get_attr(_t("align"));
17         if(str)
18         {
19                 m_style.add_property(_t("text-align"), str, 0, false);
20         }
21
22         html_tag::parse_attributes();
23 }