cs2php icon indicating copy to clipboard operation
cs2php copied to clipboard

The Lang.Php.Webserver is putting extraneous quotes, and other errors.

Open Corscaria opened this issue 9 years ago • 0 comments

I compiled the solution, and started testing the various examples with the Lang.Php.Webserver. The DocTypes aren't getting converted to a tag at all, it's just dumped as a string. And everywhere that EchoTagOpen EchoTagBound, or EchoTagClose is used, it dumps excessive double and single quotes into the output. Everything is proper when recompiled to PHP, the problem is only when using the test server. The Following is what the Graphics example sends to the browser when using Lang.Php.Webserver to test:

Doctypes.XHTML_Transitional"<'html'"'>'"<'head'"'>'"<'title'"'>''Dynamic image'</'title'></'head'>"<'body'"'>'"<'p'"'>''PNG'</'p'> "<'p'"'>'""<'img'" 'src'="'image.php?format=png'" 'alt'="'Demo png image'"' />'"</'p'> "<'p'"'>''JPG, compression 10'</'p'> "<'p'"'>'""<'img'" 'src'="'image.php?format=jpg&compression=10'" 'alt'="'Demo jpg image'"' />'"</'p'> "<'p'"'>''JPG, compression 50'</'p'> "<'p'"'>'""<'img'" 'src'="'image.php?format=jpg&compression=50'" 'alt'="'Demo jpg image'"' />'"</'p'> "<'p'"'>''JPG, compression 100'</'p'> "<'p'"'>'""<'img'" 'src'="'image.php?format=jpg&compression=100'" 'alt'="'Demo jpg image'"' />'"</'p'> </'body'> </'html'>

Corscaria avatar Sep 14 '15 04:09 Corscaria