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

Comments added when <?php tags are included in the snippet #71

Open
nine-2-five opened this issue Jul 10, 2016 · 1 comment
Open

Comments added when <?php tags are included in the snippet #71

nine-2-five opened this issue Jul 10, 2016 · 1 comment

Comments

@nine-2-five
Copy link

nine-2-five commented Jul 10, 2016

This snippet:

<div hljs>
<?php
echo "<h2>PHP is Fun!</h2>";
echo "Hello world!<br>";
echo "I'm about to learn PHP!<br>";
echo "This ", "string ", "was ", "made ", "with multiple parameters.";
?>
</div>

results in this output:
image

@pc035860
Copy link
Owner

The issue caused by < or > in HTML can be solved using hljs-include.
See here: #59 (comment)

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

2 participants