aboutsummaryrefslogtreecommitdiff
path: root/src/main/model/html/TextNode.java
diff options
context:
space:
mode:
authorJJ2022-12-29 02:07:29 +0000
committerJJ2022-12-29 02:20:51 +0000
commit595853ad76bbebf74a9a737870d5a89fb9f21f55 (patch)
treebb0f0dc491696519c3a5eae9a89087b7b626a004 /src/main/model/html/TextNode.java
parentddf614b732649875f20b54af3ef622c5c39127ff (diff)
Rework layout generator
Diffstat (limited to 'src/main/model/html/TextNode.java')
-rw-r--r--src/main/model/html/TextNode.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/model/html/TextNode.java b/src/main/model/html/TextNode.java
index 29f2791..cebf854 100644
--- a/src/main/model/html/TextNode.java
+++ b/src/main/model/html/TextNode.java
@@ -4,6 +4,7 @@ package model.html;
* This TextNode class represents raw text, with no nested tags.
*/
public record TextNode(String text) implements Node {
+
// We implement this method for easy debugging.
public String data() {
return text();