Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser does not recognize tag if bbcode is used in option #68

Open
Rall3n opened this issue Jun 10, 2016 · 1 comment
Open

Parser does not recognize tag if bbcode is used in option #68

Rall3n opened this issue Jun 10, 2016 · 1 comment

Comments

@Rall3n
Copy link

Rall3n commented Jun 10, 2016

As said above:

I´m trying to use a "quote" CodeDefinition that can be used with or without option!
Both work, but when I want to use other jBBCode tags inside the option parameter of the quote tag, the first tag in the option loses its opening bracket and the parser can`t recognize the quote tag itself because of it!

E.G:
[quote=[b]test[/b]]testing[/quote]

Output:
[quote=b]test[/b]]test123[/quote]

I tried using quotation in the option, but it was the same result!

Anyone got an idea how I could fix/make a workaround for this?

@Art4
Copy link
Contributor

Art4 commented Jun 10, 2016

Don't do that. You shouldn't markup the option parameter as you wouldn't markup it in HTML.

E.g. this isn't useful too: <blockquote cite="<b>parameter</b>">content</blockquote>

The option parameter shouldn't contain content. It should only contain metadata about the "real content".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants