"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.parseDegrees = void 0;

var parseDegrees = function parseDegrees(html) {
  return html // removes \(   use case: 50°
  .replace(/\\[(]/g, '') // removes \)   use case: 50°+m<1
  .replace(/\\[)]/g, '') // removes \degree  use case: 50°
  .replace(/\\degree/g, '&deg;');
};

exports.parseDegrees = parseDegrees;
//# sourceMappingURL=parse-html.js.map