aboutsummaryrefslogtreecommitdiff
path: root/src/main/model/html/TextNode.java
diff options
context:
space:
mode:
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();