Skip to content

Note blocks and angle brackets incompatibility #152

@izmalk

Description

@izmalk

Description

If we use angle brackets inside a note block, even in a code-block, it can break the rendering of the code block.

Environment

  1. OS (where TypeDB server runs): 12.6.5
  2. TypeDB version (and platform): -
  3. TypeDB client: -
  4. Other environment details: Jekyll

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Use the following code in markdown on a page and build the docs.
<div class="note">
[Note]
In versions previous to **2.6.0**, the `--database=` and `--file=` named arguments are not used. 
Use positional arguments instead. For example, `typedb server export <database> <filename>.typedb`.
</div>

Expected Output

Note block is rendered as usual, with a code block in it.

Actual Output

Note block is rendered, but it fails to stop by the </div>. Everything after it is now also a part of the note block.

Additional information

Seems like it sees and/or as HTML tags and waits for their closing tags.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions