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

Problem with javascript in source #16

Open
jelleseubring opened this issue Feb 25, 2020 · 0 comments
Open

Problem with javascript in source #16

jelleseubring opened this issue Feb 25, 2020 · 0 comments

Comments

@jelleseubring
Copy link

Hi,

I want to use your bbcode-parser to parse text from a database. In some of the entries there is a HTML script-tag with javascript to show ads.

But when the parser does his 'trick', the content between the script-tags disappears and is replaced with // <!]>.

If I remove the bbcode-parser everything is fine. Is this a bug or is there an option to disable this? Below my code.

$bbcodetrans = $bbcode->render($article['content'], false, false);

Thanks!

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

1 participant