Skip to content

PHP error when using detect_emoticons() #18

@cyphix333

Description

@cyphix333

I have noticed that whilst this works:

echo $parser->parse(file_get_contents('data.txt'))
    ->detect_links()
    ->get_html();

This however produces an error:

echo $parser->parse(file_get_contents('data.txt'))
    ->detect_links()
    ->detect_emoticons()
    ->get_html();

This is the error I get whenever I try and use "detect_emoticons()"..

Warning: preg_match_all(): No ending delimiter ')' found in D:\***********\bbcode\classes\Node\Container\Document.php on line 1009

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