Problem with html and php

camoody
2005-01-02
2013-04-11
  • camoody

    camoody - 2005-01-02

    Hi all,

    I have been running screem 0.12.1 on Debian and have found an interesting problem with the code completion:

    ?>
    <input type="text" name="summary" value="<? echo $summary; ?>">
    <?

    screem 0.12.1 will turn this into:
    ?>
    <input type="text" name="summary" value="<? echo $summary; ?&gr;">
    <?

    it would be really nice if screem didn't second guess me.

    Chris

     
    • David A Knight

      David A Knight - 2005-01-04

      screem is not second guessing you, that is technically invalid markup you are using.

      PHP, and ASP etc. provide problems handling in these circumstances that do need sorting out though.

       
      • camoody

        camoody - 2005-01-07

        Why doesn't it also goof up the <? then?

         
    • David A Knight

      David A Knight - 2005-01-07

      a bug probably, seems to do it here.   sorting PHP issues out is quite low priority at the moment as well

       

Log in to post a comment.