← Back to team overview

openlp-core team mailing list archive

[Bug 1066320] Re: Importing OpenLyrics songs preserves white space around lines

 

Yes. I haven't tried it (I don't have access to a machine with OpenLP
atm), but looking at the OpenLyrics 0.8 download, it looks like the
files in the example folder should import properly. Where as the songs
in the songs folder don't import properly.

Having said that, Chrome seems to be able parse 0.7 & 0.8 files ok, but
then it strips the white space. Which would mean the songs would loose
any intentional spacing at the beginning of each line.

P.S, lxml does not like  !

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1066320

Title:
  Importing OpenLyrics songs preserves white space around lines

Status in OpenLP - Worship Presentation Software:
  Confirmed

Bug description:
  The OpenLyrics song format doesn't seem to include white space around
  content within the <lines> tag. Example from
  http://openlyrics.info/dataformat.html#song-lyrics:

  <lines>
    Amazing grace, how sweet the sound<br/>
    That saved a wretch like me!<br/>
    I once was lost, but now am found,<br/>
    Was blind but now I see.<br/>
  </lines>

  OpenLP includes all white space (spaces and line breaks) instead of
  trimming the lines, so when importing for example OpenLyrics sample
  songs there is more spaces and line breaks than one would expect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1066320/+subscriptions


References