[sword-devel] osis2mod

DM Smith dmsmith at crosswire.org
Mon Feb 18 10:06:12 MST 2013


FYI, I just checked in a bug fix and a minor enhancement.

The enhancement allows newlines within tags as in:
<tag
    attr="value"
    attr2="xxx"
>

This will become <tag attr="value" attr2="xxx" >. It simply replaces a '\n' with a ' '.
Note: This also changes \n in an attributes value to a ' '.

The bug was that space was being introduced within interverse content. This typically wouldn't be noticable, but it was putting a space after every tag even when the text that was between tags started with punctuation.

In Him,
	DM


More information about the sword-devel mailing list