Skip to content

Problem with javascript in source #16

@jelleseubring

Description

@jelleseubring

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!

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