mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:27:46 +00:00
LibMarkdown: Render sequences of spaces properly in the terminal
This commit is contained in:
parent
9c0563cc10
commit
565b561522
2 changed files with 18 additions and 4 deletions
|
@ -65,9 +65,17 @@ public:
|
|||
class TextNode : public Node {
|
||||
public:
|
||||
String text;
|
||||
bool collapsible;
|
||||
|
||||
TextNode(StringView const& text)
|
||||
: text(text)
|
||||
, collapsible(true)
|
||||
{
|
||||
}
|
||||
|
||||
TextNode(StringView const& text, bool collapsible)
|
||||
: text(text)
|
||||
, collapsible(collapsible)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue