summaryrefslogtreecommitdiff
path: root/libs/litehtml/src/el_title.cpp
blob: f0e42311b4d00a2436cd6c380c5413107fab220c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "html.h"
#include "el_title.h"
#include "document.h"

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

}

void litehtml::el_title::parse_attributes()
{
	string text;
	get_text(text);
	get_document()->container()->set_caption(text.c_str());
}