intl-messageformat 8.3.18 → 8.3.23

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/CHANGELOG.md CHANGED
@@ -3,6 +3,46 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [8.3.23](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.22...intl-messageformat@8.3.23) (2020-06-06)
7
+
8
+ **Note:** Version bump only for package intl-messageformat
9
+
10
+
11
+
12
+
13
+
14
+ ## [8.3.22](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.21...intl-messageformat@8.3.22) (2020-06-06)
15
+
16
+ **Note:** Version bump only for package intl-messageformat
17
+
18
+
19
+
20
+
21
+
22
+ ## [8.3.21](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.20...intl-messageformat@8.3.21) (2020-06-04)
23
+
24
+ **Note:** Version bump only for package intl-messageformat
25
+
26
+
27
+
28
+
29
+
30
+ ## [8.3.20](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.19...intl-messageformat@8.3.20) (2020-06-04)
31
+
32
+ **Note:** Version bump only for package intl-messageformat
33
+
34
+
35
+
36
+
37
+
38
+ ## [8.3.19](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.18...intl-messageformat@8.3.19) (2020-06-03)
39
+
40
+ **Note:** Version bump only for package intl-messageformat
41
+
42
+
43
+
44
+
45
+
6
46
  ## [8.3.18](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.17...intl-messageformat@8.3.18) (2020-05-28)
7
47
 
8
48
  **Note:** Version bump only for package intl-messageformat
@@ -378,11 +378,11 @@
378
378
  return escapedChar + quotedChars.replace("''", "'");
379
379
  };
380
380
  var peg$c94 = function (x) {
381
- return (x !== '<' &&
381
+ return ((ignoreTag() || x !== '<') &&
382
382
  x !== '{' &&
383
383
  !(isInPluralOption() && x === '#') &&
384
384
  !(isNestedMessageText() && x === '}') &&
385
- !(isNestedMessageText() && x === '>'));
385
+ !(!ignoreTag() && isNestedMessageText() && x === '>'));
386
386
  };
387
387
  var peg$c95 = "\n";
388
388
  var peg$c96 = peg$literalExpectation("\n", false);
@@ -3079,6 +3079,9 @@
3079
3079
  location: location()
3080
3080
  } : {};
3081
3081
  }
3082
+ function ignoreTag() {
3083
+ return options && options.ignoreTag;
3084
+ }
3082
3085
  peg$result = peg$startRuleFunction();
3083
3086
  if (peg$result !== peg$FAILED && peg$currPos === input.length) {
3084
3087
  return peg$result;