@khanacademy/simple-markdown 0.11.4 → 0.12.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/index.js CHANGED
@@ -6,7 +6,7 @@ var perseusCore = require('@khanacademy/perseus-core');
6
6
 
7
7
  // This file is processed by a Rollup plugin (replace) to inject the production
8
8
  const libName = "@khanacademy/simple-markdown";
9
- const libVersion = "0.11.4";
9
+ const libVersion = "0.12.1";
10
10
  perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
11
11
 
12
12
  /* eslint-disable prefer-spread, no-regex-spaces, @typescript-eslint/no-unused-vars, guard-for-in, no-console, no-var */
@@ -591,10 +591,12 @@ var defaultRules = {
591
591
  match: blockRegex(/^( *[-*_]){3,} *(?:\n *)+\n/),
592
592
  parse: ignoreCapture,
593
593
  react: function (node, output, state) {
594
- return reactElement("hr", state.key, EMPTY_PROPS);
594
+ return reactElement("hr", state.key, {
595
+ "aria-hidden": true
596
+ });
595
597
  },
596
598
  html: function (node, output, state) {
597
- return "<hr>";
599
+ return '<hr aria-hidden="true">';
598
600
  }
599
601
  },
600
602
  codeBlock: {