@atlaskit/editor-wikimarkup-transformer 11.1.7 → 11.1.8

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
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-wikimarkup-transformer
2
2
 
3
+ ## 11.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0cc27eb485f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0cc27eb485f) - Added support for issue-key followed by punctuation marks
8
+
3
9
  ## 11.1.7
4
10
 
5
11
  ### Patch Changes
@@ -87,7 +87,7 @@ var withInlineCardFromTextStamp = function withInlineCardFromTextStamp(issue) {
87
87
  };
88
88
 
89
89
  var isNotAllowedChars = function isNotAllowedChars(char) {
90
- return !/\s|\(|\)|!/.test(char);
90
+ return !/\s|\(|\)|!|\.|\,|\/|\:/.test(char);
91
91
  };
92
92
 
93
93
  var buildIssueKeyRegex = function buildIssueKeyRegex(inlineCardConversion) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-wikimarkup-transformer",
3
- "version": "11.1.7",
3
+ "version": "11.1.8",
4
4
  "sideEffects": false
5
5
  }
@@ -64,7 +64,7 @@ export const buildInlineCard = (schema, issue) => {
64
64
 
65
65
  const withInlineCardFromTextStamp = issue => INLINE_CARD_FROM_TEXT_STAMP.test(issue.url) ? issue.url : `${issue.url}#icft=${issue.key}`;
66
66
 
67
- const isNotAllowedChars = char => !/\s|\(|\)|!/.test(char);
67
+ const isNotAllowedChars = char => !/\s|\(|\)|!|\.|\,|\/|\:/.test(char);
68
68
 
69
69
  export const buildIssueKeyRegex = inlineCardConversion => {
70
70
  if (!inlineCardConversion) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-wikimarkup-transformer",
3
- "version": "11.1.7",
3
+ "version": "11.1.8",
4
4
  "sideEffects": false
5
5
  }
@@ -71,7 +71,7 @@ var withInlineCardFromTextStamp = function withInlineCardFromTextStamp(issue) {
71
71
  };
72
72
 
73
73
  var isNotAllowedChars = function isNotAllowedChars(char) {
74
- return !/\s|\(|\)|!/.test(char);
74
+ return !/\s|\(|\)|!|\.|\,|\/|\:/.test(char);
75
75
  };
76
76
 
77
77
  export var buildIssueKeyRegex = function buildIssueKeyRegex(inlineCardConversion) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-wikimarkup-transformer",
3
- "version": "11.1.7",
3
+ "version": "11.1.8",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-wikimarkup-transformer",
3
- "version": "11.1.7",
3
+ "version": "11.1.8",
4
4
  "description": "Wiki markup transformer for JIRA and Confluence",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"