[sword-svn] r386 - trunk/modules/python
chrislit at crosswire.org
chrislit at crosswire.org
Mon Aug 13 09:26:11 MST 2012
Author: chrislit
Date: 2012-08-13 09:26:11 -0700 (Mon, 13 Aug 2012)
New Revision: 386
Modified:
trunk/modules/python/usfm2osis.py
Log:
made optional linebreaks a form of <lb/>
Modified: trunk/modules/python/usfm2osis.py
===================================================================
--- trunk/modules/python/usfm2osis.py 2012-08-12 18:57:56 UTC (rev 385)
+++ trunk/modules/python/usfm2osis.py 2012-08-13 16:26:11 UTC (rev 386)
@@ -867,7 +867,7 @@
osis = osis.replace('~', '\uA0')
# //
- osis = osis.replace('//', '')
+ osis = osis.replace('//', '<lb type="x-optional"/>')
# \pb
osis = re.sub(r'\\pb\s*', '<milestone type="pb"/>\n', osis, flags=re.DOTALL)
More information about the sword-cvs
mailing list