fix(segments): return empty string instead of "null" for text, log, and markdown properties (#9651)
This commit is contained in:
parent
d6e8290a1c
commit
5267f34e76
1 changed files with 3 additions and 3 deletions
|
|
@ -56,15 +56,15 @@ class NoneSegment(Segment):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def text(self) -> str:
|
def text(self) -> str:
|
||||||
return "null"
|
return ""
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def log(self) -> str:
|
def log(self) -> str:
|
||||||
return "null"
|
return ""
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def markdown(self) -> str:
|
def markdown(self) -> str:
|
||||||
return "null"
|
return ""
|
||||||
|
|
||||||
|
|
||||||
class StringSegment(Segment):
|
class StringSegment(Segment):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue