"use client";
function c(t, e) {
  const p = { type: "text", value: e.value.replace(/\r?\n|\r/g, " ") };
  t.patch(e, p);
  const r = {
    type: "element",
    tagName: "code",
    properties: {},
    children: [p]
  };
  return t.patch(e, r), t.applyData(e, r);
}
export {
  c as inlineCode
};
