Repository navigation
v3.0.1
Fixed
- #58 A unit followed by a slashed alternate amount is now recognized:
'2 cups/10 ounces frozen peas'yieldsunitOfMeasureID: 'cup'anddescription: '/10 ounces frozen peas'(previously no unit). Registered slashed units likeScheibe/nkeep precedence, and a slash not followed by a quantity ('cups/sticks') is not split. - #58
descriptionMeasurementsandextractMeasurementsfind a quantity right after a slash ('cups/10 ounces','w/2 cups'), unless a numeric character precedes the slash ('1/0','½/1'), which is treated as a fraction bar. - #58
'1-2 cups/250-500 ml'now reports the250-500 mlrange as a description measurement, not just500 ml.
Full Changelog: v3.0.0...v3.0.1