Skip to content

Commit

Permalink
Return WMarker Term from preprocess
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jsarabia authored Jul 5, 2024
1 parent c5125c3 commit ad6e3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion USFMToolsSharp/Models/Markers/WMarker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public override string PreProcess(string input)

}

return string.Empty;
return Term;
}

}
Expand Down

0 comments on commit ad6e3fc

Please sign in to comment.