Skip to content
This repository has been archived by the owner on Apr 14, 2019. It is now read-only.

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

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

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

s1738berger opened this issue Aug 18, 2010 · 0 comments

Comments

@s1738berger
Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant