shelving 1.236.1 → 1.236.2

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.
@@ -3,7 +3,7 @@
3
3
  * - Inline strong text wrapped in one or more `*` asterisks.
4
4
  * - Inline emphasis text wrapped in one or more `_` underscores.
5
5
  * - Inline inserted text wrapped in one or more `+` pluses.
6
- * - Inline deleted text wrapped in one or more `-` minuses or `~` tildes.
6
+ * - Inline deleted text wrapped in one or more `~` tildes.
7
7
  * - Inline highlighted text wrapped in one or more `=` equals or `:` colons.
8
8
  * - Whitespace cannot be the first or last character of the element (e.g. `* abc *` will not work).
9
9
  * - Closing chars must match opening characters.
@@ -2,13 +2,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { createMarkupRule } from "../MarkupRule.js";
3
3
  import { createWordRegExp } from "../util/regexp.js";
4
4
  /** Map characters, e.g. `*`, to their coresponding HTML tag, e.g. `strong` */
5
- const INLINE_CHARS = { "-": "del", "~": "del", "+": "ins", "*": "strong", _: "em", "=": "mark" }; // Hyphen must be first so it works when we use the keys as a character class.
5
+ const INLINE_CHARS = { "~": "del", "+": "ins", "*": "strong", _: "em", "=": "mark" };
6
6
  /**
7
7
  * Inline strong, emphasis, insert, delete, highlight.
8
8
  * - Inline strong text wrapped in one or more `*` asterisks.
9
9
  * - Inline emphasis text wrapped in one or more `_` underscores.
10
10
  * - Inline inserted text wrapped in one or more `+` pluses.
11
- * - Inline deleted text wrapped in one or more `-` minuses or `~` tildes.
11
+ * - Inline deleted text wrapped in one or more `~` tildes.
12
12
  * - Inline highlighted text wrapped in one or more `=` equals or `:` colons.
13
13
  * - Whitespace cannot be the first or last character of the element (e.g. `* abc *` will not work).
14
14
  * - Closing chars must match opening characters.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shelving",
3
- "version": "1.236.1",
3
+ "version": "1.236.2",
4
4
  "author": "Dave Houlbrooke <dave@shax.com>",
5
5
  "repository": {
6
6
  "type": "git",