Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Binary tree visualization in <pre> tag inproperly trimmedΒ #307

Closed
@Vigilans

Description

@Vigilans

πŸ› Bug Report

image

Reason:

body: body.join("\n").replace(/<pre>\s*([^]+?)\s*<\/pre>/g, "<pre><code>$1</code></pre>"),

The <pre>\s* reduces all the white spaces. In fact, only \r\n is needed to not be caught.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions