Skip to content

Commit ad6e3fc

Browse files
authored
Return WMarker Term from preprocess
Returning Term from preprocess allows for the word within a WMarker to be left as remaining text, which will then get picked up into a TextBlock. If this is not done, the word within a WMarker would be ignored when doing something such as getting all TextBlocks from a VMarker, which seems a sensible way to get scripture text without markup from a verse.
1 parent c5125c3 commit ad6e3fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

USFMToolsSharp/Models/Markers/WMarker.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public override string PreProcess(string input)
4343

4444
}
4545

46-
return string.Empty;
46+
return Term;
4747
}
4848

4949
}

0 commit comments

Comments
 (0)