Skip to content

Build node graph rather than text in highlighter #6

@imitablerabbit

Description

@imitablerabbit

Currently the text is being wrapped in span tags, this is fine until you have text which includes < and >. Then when .innerHtml is used to automatically parse the html tags from the text, it is also matching the < and > signs. An example of this is in the c++ include tests.

#include <vector>

Is turned into...

#include 

and a new html node <vector></vector> is created

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions