Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pdt-dev] html formatter

original code in a seperate fle:

#########################################################################

<form action="" method="post" enctype="multipart/form-data">
<input type="checkbox" checked="checked" name="prev" /> Beziehe
die bekannten Nahrungsmittel mit ein<br />

Die Zeit (in Stunden) in der ein Symptom durch ein Nahrungsmittel ausgelöst werden kann:<br />
<input ype="text" value=<?php echo $delay; ?> name="delay" /> <br />

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 />
<input type="file" name="file" accept="text/*" /><br>

<input type="checkbox" name="example">Beispiel Tagebuch verwenden

#########################################################################


formatted code:


#########################################################################

<form action="" method="post" enctype="multipart/form-data">
<input type="checkbox" checked="checked" name="prev" /> Beziehe die
bekannten Nahrungsmittel mit ein<br /> Die Zeit (in Stunden) in der
ein Symptom durch ein Nahrungsmittel ausgelöst werden kann:<br /> <input
ype="text" value=<?php echo $delay; ?> name="delay" /> <br /> 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 /> <input type="file"
name="file" accept="text/*" /><br> <input type="checkbox"
name="example">Beispiel Tagebuch verwenden

#########################################################################



Thanks for your help, Tobias



--- 赵忠伟 <zhaozhongwei@xxxxxxxxxxxxxxxx> schrieb am Mi, 29.6.2011:

Von: 赵忠伟 <zhaozhongwei@xxxxxxxxxxxxxxxx>
Betreff: Re: [pdt-dev] html formatter
An: "PDT Developers" <pdt-dev@xxxxxxxxxxx>
Datum: Mittwoch, 29. Juni, 2011 13:55 Uhr

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 <looki1234@xxxxxxxxx> 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@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pdt-dev




--

Thanks!

Best Regards!

Zhao

-----Integrierter Anhang folgt-----

_______________________________________________
pdt-dev mailing list
pdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pdt-dev

Back to the top