Option 'show-body-only' = auto and PHP tags #10

s1738berger opened this Issue Aug 18, 2010 · 0 comments


None yet
1 participant

When the option 'show-body-only' is set to 'auto' or 'yes' and there is a PHP tag at the beginning of the HTML snipped, it will be deleted:
<?php echo 'php';?>


results in:

PHP Tags that are not at the beginning of the snippet will remain untouched. For example:

<?php echo 'php';?>


A pretty strange behaviour.
I use tidyp 1.02 and HTML::Tidy 1.52
Thans for your help.
Regards, Stefan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment