Skip to content

[docs] Improve code block detection for RN docs importer #3356

@ide

Description

@ide

See #3337 which fixes a one-off issue with the docs that are imported from RN. The "in code block?" detection in the importer script has some edge cases, leading to issues like the one that was linked. Potentially relevant code from the importer:

case '{':
case '}':
// case '>':
nc = '${"' + c + '"}';
break;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions