1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 07:45:06 +00:00
serenity/LibHTML/Text.h
Andreas Kling a67e823838 LibHTML: Start working on a simple HTML library.
I'd like to have rich text, and we might as well use HTML for that. :^)
2019-06-15 18:55:47 +02:00

15 lines
254 B
C++

#pragma once
#include <AK/AKString.h>
#include <LibHTML/Node.h>
class Text final : public Node {
public:
explicit Text(const String&);
virtual ~Text() override;
const String& data() const { return m_data; }
private:
String m_data;
};