Skip to content

Conditional params problem #21

@timofeyp

Description

@timofeyp

I've tried to initialize parser in class constructor, with different quote block parsers depends on boolean condition.
In both cases just one quote parser was used - a boolean condition always used as last, but passed different.

It seems like always HtmlParser called, it being re-initialized. How to get two different instances of parser ?

codesandbox here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions