@digo-labs/ui 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -12075,7 +12075,7 @@ async function Pg(e, t = "text", n = {}) {
12075
12075
  } catch {
12076
12076
  console.warn(`Language "${t}" not found, falling back to plaintext`), t = "text";
12077
12077
  }
12078
- return r.codeToHtml(e, {
12078
+ return r.codeToHtml(e.replace(/[\r\n]+$/, ""), {
12079
12079
  lang: t,
12080
12080
  theme: o === "light" ? "min-light" : "tokyo-night",
12081
12081
  transformers: [{