fix(Parser): Change default text content to empty string instead of None

For compatibility with previous fix/commit
This commit is contained in:
Karim shoair
2025-03-15 00:56:19 +02:00
parent bf6a3a9c20
commit 94909099a9
+1 -1
View File
@@ -71,7 +71,7 @@ class Adaptor(SelectorsGeneration):
if root is None and not body and text is None:
raise ValueError("Adaptor class needs text, body, or root arguments to work")
self.__text = None
self.__text = ''
self.__raw_body = ''
if root is None:
if text is None: