You probably need to convert newlines to <br> tags, or wrap everything
in a <pre> tag.

On Apr 2, 4:55 am, ITConsultant <[EMAIL PROTECTED]> wrote:
> At the moment in my java script, I am using the code -
>
>  var description = entry.getContent().getText();
>
> So say for example if the description is
>
> Tom went ahead.
>
> Price $2
>
> Event: carmel
>
> After  this step
>
> td.appendChild(document.createTextNode(description));
>
> My final output on my webpage is like
> Tom went ahead.Price $2.Event: carmel
>
> but I prefer the description to be exact as it is in google calendar
> display.
>
> Can someone please help me in java script code to preserve the same
> description.
>
> Sorry I cannot give you the full code and I am new to this.
>
> Thanks for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to