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

No html code output #23

Open
cmnstmntmn opened this issue Apr 8, 2016 · 1 comment
Open

No html code output #23

cmnstmntmn opened this issue Apr 8, 2016 · 1 comment
Labels

Comments

@cmnstmntmn
Copy link

why $bh->apply([ 'block' => 'button' ]); doesn't output any html
i have to use echo($bh->apply([ 'block' => 'button' ])); in order to get it

@qfox
Copy link
Member

qfox commented Apr 9, 2016

This is because you can easily output it with echo.

Better to have echo in echo $bh->apply(...); than ob-wrapper in ob_start(); $bh->apply(...); $res = ob_get_clean();, right?

@qfox qfox added the question label Apr 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants