import { TextBlot as a } from "../../../../parchment@3.0.0/node_modules/parchment/dist/parchment.mjs";
class r extends a {
}
function p(t) {
  return t.replace(/[&<>"']/g, (e) => ({
    "&": "&amp;",
    "<": "&lt;",
    ">": "&gt;",
    '"': "&quot;",
    "'": "&#39;"
  })[e]);
}
export {
  r as default,
  p as escapeText
};
