unfoldingWord-dev / USFM-Tools

Tools for parsing and rendering USFM files
Other
5 stars 14 forks source link

Do not convert \s5 into a paragraph node #21

Closed phillip-hopper closed 8 years ago

phillip-hopper commented 8 years ago

When converting from USFM to USX, the \s5 tag cannot be brought over as a paragraph node. Since paragraphs cannot be nested, this causes the current paragraph to close prematurely and the remainder of the verses that are supposed to be in the paragraph are orphaned, not in any paragraph. This is not valid USX,and it was interferring with the script that converts from USFM to translationStudio.

Instead of converting \s5 to a paragraph, I'm converting it to a user-defined note node.


This change is Reviewable