Skip to content

[.record-audio] bit converted to wrong type 'record' in the JSON #11

@six5536

Description

@six5536

Describe the bug
[.record-audio] bit converted to wrong type 'record' in the JSON

To Reproduce
Parse the following bitmark to produce JSON output:

[.record-audio]
[@id:285770]
[%42][%record-audio]
[!Say "hello"]

The following JSON is produced:

{
   "bitmark": "[.record-audio]\n[@id:285770]\n[%42][%record-audio]\n[!Say \"hello\"]",
   "bit": {
     "type": "record",
     "format": "bitmark--",
     "body": "",
     "item": "42",
     "hint": "",
     "isExample": false,
     "example": "",
     "id": ["285770"],
     "lead": "record-audio",
     "instruction": "Say \"hello\""
   }
 }

Expected behavior
type = record-audio

versions
1.0.38

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions