diff --git a/lib/convert-worker.js b/lib/convert-worker.js index 069d369..f4622e9 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -543,11 +543,14 @@ function fixHyphens(xml) { xml = xml.replace(/(\w+)[ -]year[ -]old(s?)(?!\w)/g, "$1-year-old$2"); xml = xml.replace(/(\w+) or (\w+)-year-old/g, "$1- or $2-year-old"); - // Compound numbers must be hyphenated. + // Compound numbers from 11 through 99 must be hyphenated, but others should not be. xml = xml.replace( /(?