[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PHP4: embeded html not handled properly
From: |
Shigio Yamaguchi |
Subject: |
Re: PHP4: embeded html not handled properly |
Date: |
Tue, 19 Jul 2005 20:01:51 +0900 |
> I was realy dirsturbed when I saw that some lines (option -n) were not
> handled in a sane way. I got output like:
>
> ----htags-produced-----
>
> 31 <? include ("head.inc");?>
> 32
> 33
> 34
> 35
> 36 37 38 41 42
> 43
> 44 45
> 46 49
> 50
> 51 79
> 80
> 81 83
> 84
> 85 148
> 149
> 150
> 151 154
> 155
> 156 157
> 158 <? include ("footer.inc"); ?>
>
> ----end htags-produced-----
Htags didn't treat HTML part of PHP source code correctly.
It was written as is without encoding.
I have fixed the bug. This is the patch for it.
Thank you for your report!
diff -r1.13 php.l
77c77
< <INITIAL>. ECHO;
---
> <INITIAL>. put_string(LEXTEXT);
--
Shigio YAMAGUCHI <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3