From ad6e3fc543c79f450428508c8c1d0ee5da180211 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 5 Jul 2024 16:37:57 -0400 Subject: [PATCH] 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. --- USFMToolsSharp/Models/Markers/WMarker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/USFMToolsSharp/Models/Markers/WMarker.cs b/USFMToolsSharp/Models/Markers/WMarker.cs index 9757bed..4c48e1f 100644 --- a/USFMToolsSharp/Models/Markers/WMarker.cs +++ b/USFMToolsSharp/Models/Markers/WMarker.cs @@ -43,7 +43,7 @@ public override string PreProcess(string input) } - return string.Empty; + return Term; } }