Skip to content

weird parsing when using contextFreeTags #289

@garyb01

Description

@garyb01

I have 3 tags that start with infotip

  • infotip
  • infotipmessage
  • infotipbutton

These are left out of the list of allowed tags on purpose

  • infotipmessage
  • infotipbutton
[infoTip][infoTipMessage]hello 123[b]MOO[/b][/infoTipMessage][infoTipButton]hello[/infoTipButton][/infoTip]

When I enable contextFreeTags, it looks like the parser thinks that the closing [/infotipmessage] closes the infotip tag, or something.

https://codesandbox.io/p/sandbox/hopeful-glade-rpxp6z?file=%2Fsrc%2FApp.js%3A28%2C61

Image

Image

Metadata

Metadata

Assignees

Labels

P1Moderate IssuebugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions