Skip to main content

LineBreakNode

ClassDataClassSource

LineBreakNode(type: Literal["br"] = "br")

Node: Line Break

Provide the hard line break.

Fields​

NameTypeRequired
Description
typeLiteral["br"]The type identifer of this document node.

Properties​

pure_text​

pure_text: str = self.pure_text

The pure text of the current node.


size​

size: int = self.size

The estimated text length of the current node.