Repository navigation
Adds optional text clean-ups; the output of text() does not change unless they are switched on. Includes the security fix of 2.1.0.
Added
TextCleaner::joinHyphenation()andExtract::joinHyphenation(): join words hyphenated at the end of a line («Familien-↵anlass» → «Familienanlass»; before an upper-case letter the hyphen stays, digits, blank lines and page breaks are left alone) and remove soft hyphens. Knows the plain and the Unicode hyphen, the Fraktur double hyphen «⸗» and «¬».TextCleaner::expandLigatures()andExtract::expandLigatures(): replace the ligatures U+FB00–U+FB06 (ff fi fl ffi ffl ſt st) with their letters.- Both are off by default; the output of
text()does not change unless they are switched on.