SongBeamer Forums Forum Index SongBeamer Forums

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Should <wordwrap>...</wordrap> honor or ignore e

 
Post new topic   Reply to topic    SongBeamer Forums Forum Index -> General
View previous topic :: View next topic  
Author Message
Juggledad



Joined: 04 Jun 2006
Posts: 27
Location: Massachusetts, USA

PostPosted: Thu Dec 14, 2006 1:37 am    Post subject: Should <wordwrap>...</wordrap> honor or ignore e Reply with quote

I'm playing with the HTML feature. If I use <wordwrap>...</wordwrap> with a long string of text, it wraps it nicely, however if I add a CR in the string, it creates a new line at that point and keeps wrapping till the </wordwrap>.

While I can see a logic in this, to be consistant with HTML (which ignores all extra spaces and cr's), shouldn't the only time you cause a new line in a <wordwrap>...</wordrap> be if there is a <br> imbedded?

And in a <wordwrap>...</wordrap> pair, shuldn't extra spaces be ignored?
Back to top
View user's profile Send private message
Sebastian
SongBeamer


Joined: 22 Apr 2006
Posts: 198

PostPosted: Thu Dec 14, 2006 9:22 am    Post subject: Reply with quote

In SongBeamer we're trying to be more consistant with a text editor than with html, because that is what most of our customers seem to expect.

This means a new line will start a new paragraph, and <br> starts a new line.

In a song we prefer to have line breaks where they "make sense". I think this is easier for the congregation to follow. So the wordwrap tag is really discouraged for use in songs, but sometimes it can be very useful. (At the German Royal Rangers Bundescamp SongBeamer was used for displaying the songs on 3 LED walls. The challenge was to display text on a resolution of 640x480 using a much bigger font than usual without having to reformat the entire songs).
When using the global wordwrap function the text output should be similar to the text output without wordwrap, except for the wordwrap.
Back to top
View user's profile Send private message Send e-mail
Juggledad



Joined: 04 Jun 2006
Posts: 27
Location: Massachusetts, USA

PostPosted: Thu Dec 14, 2006 1:38 pm    Post subject: Reply with quote

Ok, that's what I thought. I just wanted to make sure that was the design and not a 'bug'.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SongBeamer Forums Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group