From 2412fa0375b766c1984ed2c6bee1635c6cee7c9a Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Sun, 29 Nov 2020 16:19:45 -0500 Subject: [PATCH] Capitalize U-turn --- lib/convert-worker.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/convert-worker.js b/lib/convert-worker.js index 6f0c2ea..8fdea9e 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -552,6 +552,9 @@ function fixMispellings(xml) { // Preemptive(ly) is often hyphenated (not always). It should not be. xml = xml.replace(/([Pp])re-emptive/g, "$1reemptive"); + // All dictionaries agree this is capitalized. + xml = xml.replace(/u-turn/g, "U-turn"); + return xml; }