Hi,
I'm not sure if this email will get through, but I've run into a similar
issue. In my case, it was a css file that we had inserted php code into.
To reproduce, take any properly formatted css file, rename to .php, insert
<?php echo 'this';?> and hit ctrl + i. It will turn into a mess.
Maybe there can be an option for the parser to ignore stuff outside php
code?
Thanks,
Mike

On Wed, Jun 29, 2011 at 10:55 AM, 赵忠伟 <zhaozhong...@eclipseworld.org> wrote:

> hi,
>
> what is the code before you format the code?
> and can you remove the php code,and then try it in a html file,then format
> it?I am not sure if this is pdt special issue.
>
> On Wed, Jun 29, 2011 at 4:55 PM, Ernst Rent <looki1...@yahoo.com> wrote:
>
>> Hi, im having a problem with the formatter (ctrl+shift+f) regarding html.
>> It clears my linebreaks in the code, it looks obfuscated like this then:
>>
>>
>>
>> Eine kurze Beschreibung Ihrer Symptome:<br> <input
>> type="text" name="symDesc" value="<?php echo $symDesc;?>" />
>> <br /> Das Tagebuch welches benutzt werden soll (im txt
>> Format):<br />
>>
>>
>>
>> anyone knows how to avoid this behaviour? I would like to keep all my
>> linebreaks.
>>
>>
>>
>> Thx Tobias
>> _______________________________________________
>> pdt-dev mailing list
>> pdt-dev@eclipse.org
>> https://dev.eclipse.org/mailman/listinfo/pdt-dev
>>
>>
>
>
> --
>
> Thanks!
>
> Best Regards!
>
> Zhao
>
> _______________________________________________
> pdt-dev mailing list
> pdt-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/pdt-dev
>
>
_______________________________________________
pdt-dev mailing list
pdt-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev

Reply via email to