We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
The text was updated successfully, but these errors were encountered:
Update: I have noticed it only does it if you have no emoticons added via something like:
$parser->add_emoticons(array( ':)' => 'http://localhost/Classes/SCEditor-punbb/punbb-1.3.5/img/smilies/smile.png', '=)' => 'http://localhost/Classes/SCEditor-punbb/punbb-1.3.5/img/smilies/smile.png' ));
...and you try and use it. As long as you add emoticons as above then it will work.
Sorry, something went wrong.
No branches or pull requests
I have noticed that whilst this works:
This however produces an error:
This is the error I get whenever I try and use "detect_emoticons()"..
The text was updated successfully, but these errors were encountered: