Le 04/06/12 22:24, canalrun a �crit :
> Hello,
> I just tried bluegriffon 1.52. I opened a PHP file which is mostly
> HTML with some embedded PHP.
Depends where your php code is in the document. BlueGriffon is
based on Mozilla Gecko, and Gecko reads and parses HTML documents.
So if your document instance does not validate as a HTML/XHTML
document...
> I have a PHP block at the top � bluegriffon completely ignores this.
> I have embedded PHP, to echo variable values, within the HTML.
> Bluegriffon modifies the<?= and ?> tags for PHP to<--?= and ?-->.
> This breaks the PHP.
Please file a bug at
http://bugzilla.bluegriffon.org and don't
forget to attach your document. Without that, I won't be able
to test and fix.
> Bluegriffon looks like a very nice program, but its handling of PHP
> (and probably all other scripting languages like ASP and JavaScript)
> makes it totally useless.
Trust me on that, no problem with JS. BlueGriffon will probably
never handle ASP since it uses a syntax incompatible with XML.
> I think all that needs to be done is to handle scripting code, like
> PHP, in the same way that Tags are displayed in "All Tags Mode".
> Display inline a little yellow box with the letters PHP for every
> block of PHP code that is encountered. Having "All Tags Mode" enabled
> could be required. And, you cannot modify or rewrite the tags or code.
Again, that depends on where is your php inside the document. Some
php code before the document prolog or after the end of the root
element will NEVER be preserved by a HTML/XHTML-conforming app.
> Please tell me this problem is being addressed.
File a bug, as described above :-)
</Daniel>