@lingui/macro
Advanced tools
Comparing version 3.0.0-21 to 3.0.0-23
@@ -217,9 +217,5 @@ "use strict"; | ||
} else if (_this.types.isJSXText(node)) { | ||
// node.value has HTML entities converted to characters, but we need original | ||
// HTML entities. | ||
return _this.tokenizeText(node.extra.raw); | ||
return _this.tokenizeText(node.value); | ||
} else { | ||
// Same as above, but this time node.extra.raw also includes surrounding | ||
// quotes. We need to strip them first. | ||
return _this.tokenizeText(node.extra.raw.replace(/(["'])(.*)\1/, "$2")); | ||
return _this.tokenizeText(node.value); | ||
} | ||
@@ -226,0 +222,0 @@ }); |
{ | ||
"name": "@lingui/macro", | ||
"version": "3.0.0-21", | ||
"version": "3.0.0-23", | ||
"description": "Macro for generating messages in ICU MessageFormat syntax", | ||
@@ -32,3 +32,3 @@ "main": "index.ts", | ||
"@babel/runtime": "^7.11.2", | ||
"@lingui/conf": "3.0.0-21", | ||
"@lingui/conf": "3.0.0-23", | ||
"ramda": "^0.27.1" | ||
@@ -35,0 +35,0 @@ }, |
40563
827
+ Added@lingui/conf@3.0.0-23(transitive)
- Removed@lingui/conf@3.0.0-21(transitive)
Updated@lingui/conf@3.0.0-23