hyperledger-firefly / hyperledger-firefly/sandbox

Mismatched quotes in truncated template blurbs causes highlighting issues

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
TypeScript
Stars
16
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Some long JSON items (such as contract schemas) are truncated in the template display for readability, like the following:
```
const ffi = {"name":"m ... event1"}]};
```

If this truncation results in a mismatched number of quotation marks, the syntax highlighting is wrong (as it colors the rest of the snippet as a string constant).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.