Losing newlines from Description field

Discussions about the Calendar Tool at lds.org. Questions about the calendar on the classic site should be posted in the LUWS forum.
elesel
New Member
Posts: 15
Joined: Tue Dec 21, 2010 8:38 pm

Losing newlines from Description field

Postby elesel » Wed Nov 13, 2013 5:19 pm

When I enter multiple lines (with hard returns) into the Description field and then click Update Event, the event is stripped of any hard returns before it is saved. When I mouseover the new event in the Month view, the lines I had entered separately now run together, and when I edit the event again the hard returns are no longer present.

Is anyone aware of this issue? As a workaround, I can enter <br> tags in the Description field, which look correct on mouseover, but when a member opens the event they see them.

For example, this:

Topic: Love thy neighbor
Assignments: TBD

becomes this:

Topic: Love thy neighbor Assignments: TBD

russellhltn
Community Administrator
Posts: 20767
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Re: Losing newlines from Description field

Postby russellhltn » Wed Nov 13, 2013 5:46 pm

Have you searched the Wiki?
Try using a Google search by adding "site:tech.lds.org/wiki" to the search criteria.

elesel
New Member
Posts: 15
Joined: Tue Dec 21, 2010 8:38 pm

Re: Losing newlines from Description field

Postby elesel » Wed Nov 13, 2013 6:24 pm

Wow, I'm amazed that this issue has been around for so long. Thanks for pointing it out, Russell. I am a web developer and this wouldn't be that hard to fix, but I'm guessing that the developers have other priorities.

russellhltn
Community Administrator
Posts: 20767
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Re: Losing newlines from Description field

Postby russellhltn » Wed Nov 13, 2013 6:30 pm

elesel wrote:but I'm guessing that the developers have other priorities.


Last time I talked to them it was something like two developers working on seven projects.
Have you searched the Wiki?

Try using a Google search by adding "site:tech.lds.org/wiki" to the search criteria.

elesel
New Member
Posts: 15
Joined: Tue Dec 21, 2010 8:38 pm

Re: Losing newlines from Description field

Postby elesel » Wed Nov 13, 2013 7:17 pm

Wow. That's being stretched thin.

User avatar
johnshaw
Senior Member
Posts: 1839
Joined: Fri Jan 19, 2007 1:55 pm
Location: Syracuse, UT

Re: Losing newlines from Description field

Postby johnshaw » Thu Nov 14, 2013 9:12 am

we're all busy hastening the work
“A long habit of not thinking a thing wrong, gives it a superficial appearance of being right, and raises at first a formidable outcry in defense of custom.”
― Thomas Paine, Common Sense

wxrwxr
New Member
Posts: 25
Joined: Tue Jan 13, 2009 5:39 pm
Location: Ammon, ID USA

Re: Losing newlines from Description field

Postby wxrwxr » Sun Jan 05, 2014 9:56 pm

There is another thread about this problem that was started February 11, 2012:
viewtopic.php?f=110&t=10753&hilit=wxrwxr

Also there is a work-around you may be interest in as follows:
You can use the sequence <br> to input line breaks into event descriptions. For example the entry:
1. Jerry - Setup<br>
2. Jim - Salad<br>
3. Bill - Main Dish<br>
4. Joe - Desert<br>
5. Dick - Cleanup<br>

will show as:
1. Jerry - Setup
2. Jim - Salad
3. Bill - Main Dish
4. Joe - Desert
5. Dick - Cleanup
in the "mouse over" window in the calendar for the event in "Month" mode.

The <br> characters will still show in the "Edit Event Details" window but it is still much better that having it changed to:
1. Jerry - Setup 2. Jim - Salad 3. Bill - Main
Dish 4. Joe - Desert 5. Dick - Cleanup
.

russellhltn
Community Administrator
Posts: 20767
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Re: Losing newlines from Description field

Postby russellhltn » Mon Nov 24, 2014 6:08 pm

This appears to be fixed in 2.7.
Have you searched the Wiki?

Try using a Google search by adding "site:tech.lds.org/wiki" to the search criteria.

wxrwxr
New Member
Posts: 25
Joined: Tue Jan 13, 2009 5:39 pm
Location: Ammon, ID USA

Re: Losing newlines from Description field

Postby wxrwxr » Mon Nov 24, 2014 6:52 pm

Yes the version in use 11/24/2014 corrects the loss for newlines in the description field. Thank you. Thank you.


Return to “Calendar”

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest