@forsakringskassan/docs-generator 2.39.3 → 2.40.1

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/markdown.mjs CHANGED
@@ -2,8 +2,8 @@ import { createRequire as $createRequire } from "node:module";
2
2
 
3
3
  const require = $createRequire(import.meta.url);
4
4
 
5
- export { S as SoftError, c as createMarkdownRenderer } from './create-markdown-renderer-WgrWydyg.mjs';
6
- import './vendor-KZo5HqAF.mjs';
5
+ export { S as SoftError, c as createMarkdownRenderer } from './create-markdown-renderer-BlDGOJRm.mjs';
6
+ import './vendor-CZRU56SE.mjs';
7
7
  import 'node:url';
8
8
  import 'node:path';
9
9
  import 'fs';
package/dist/runtime.mjs CHANGED
@@ -3949,7 +3949,7 @@ var init_katex = __esm({
3949
3949
  }
3950
3950
  var styles4 = "";
3951
3951
  if (this.italic > 0) {
3952
- styles4 += "margin-right:" + this.italic + "em;";
3952
+ styles4 += "margin-right:" + makeEm(this.italic) + ";";
3953
3953
  }
3954
3954
  for (var key of Object.keys(this.style)) {
3955
3955
  styles4 += hyphenate(key) + ":" + this.style[key] + ";";
@@ -9743,8 +9743,8 @@ var init_katex = __esm({
9743
9743
  var viewBoxHeight = Math.round(realHeightTotal * 1e3);
9744
9744
  var pathStr = tallDelim(svgLabel, Math.round(midHeight * 1e3));
9745
9745
  var path4 = new PathNode(svgLabel, pathStr);
9746
- var width3 = (viewBoxWidth / 1e3).toFixed(3) + "em";
9747
- var height2 = (viewBoxHeight / 1e3).toFixed(3) + "em";
9746
+ var width3 = makeEm(viewBoxWidth / 1e3);
9747
+ var height2 = makeEm(viewBoxHeight / 1e3);
9748
9748
  var svg2 = new SvgNode([path4], {
9749
9749
  "width": width3,
9750
9750
  "height": height2,
@@ -10414,7 +10414,7 @@ var init_katex = __esm({
10414
10414
  // default
10415
10415
  options2.minRuleThickness
10416
10416
  );
10417
- node2.setAttribute("style", "border: " + thk + "em solid " + String(group2.borderColor));
10417
+ node2.setAttribute("style", "border: " + makeEm(thk) + " solid " + group2.borderColor);
10418
10418
  }
10419
10419
  break;
10420
10420
  case "\\xcancel":
@@ -10690,7 +10690,7 @@ var init_katex = __esm({
10690
10690
  gap = 0;
10691
10691
  }
10692
10692
  }
10693
- if (group2.addJot) {
10693
+ if (group2.addJot && r3 < group2.body.length - 1) {
10694
10694
  depth += jot;
10695
10695
  }
10696
10696
  outrow.height = height2;
@@ -16573,7 +16573,7 @@ var init_katex = __esm({
16573
16573
  return renderError(error3, expression, settings);
16574
16574
  }
16575
16575
  };
16576
- version = "0.16.42";
16576
+ version = "0.16.44";
16577
16577
  __domTree = {
16578
16578
  Span,
16579
16579
  Anchor,