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

Open
s1738berger opened this Issue Aug 18, 2010 · 0 comments

Comments

Projects
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';?>

<p>php</p>

results in:
<p>php</p>

PHP Tags that are not at the beginning of the snippet will remain untouched. For example:
<p>php</p>

<?php echo 'php';?>

<p>php</p>

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