Indentation and PHP tags

I experience that for each use of Tidy the contents and the ending tag is indented one step. Also the starting tag of the PHP tag no. 2 is lifted to follow the ending tag of the first PHP tag. As you can see the accumulating indentation only happens with PHP tags inside HTML tags.

It looks like this:

Start situation:

<?php
  echo "text1";
?>
<?php
  echo "text2";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <title>
      Untitled
    </title>
  </head>
  <body>
    <?php
      echo "text1";
    ?>
    <?php
      echo "text2";
    ?>    
  </body>
</html>

After 4 Tidy's

<?php
  echo "text1";
?><?php
  echo "text2";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <title>
      Untitled
    </title>
  </head>
  <body>
    <?php
                      echo "text1";
                    ?><?php
                      echo "text2";
                    ?>
  </body>
</html>

indent is set to yes (which I want it to be). I have tried changing all other setting which I thougth might be relevant but with no success.
I use tidy.exe dating 16/11/00 with HomeSite 4.5.2.

entree.fr
e-mail: steen@entree.fr
Internet: www.entree.fr
Tel/Fax:(+33) (0)4 94 84 72 56

Received on Sunday, 17 June 2001 04:27:06 UTC