@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 +6 -0
- package/dist/cjs/parser/tokenize/issue-key.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/parser/tokenize/issue-key.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/parser/tokenize/issue-key.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +1 -1
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|\(|\)
|
|
90
|
+
return !/\s|\(|\)|!|\.|\,|\/|\:/.test(char);
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
var buildIssueKeyRegex = function buildIssueKeyRegex(inlineCardConversion) {
|
package/dist/cjs/version.json
CHANGED
|
@@ -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|\(|\)
|
|
67
|
+
const isNotAllowedChars = char => !/\s|\(|\)|!|\.|\,|\/|\:/.test(char);
|
|
68
68
|
|
|
69
69
|
export const buildIssueKeyRegex = inlineCardConversion => {
|
|
70
70
|
if (!inlineCardConversion) {
|
package/dist/es2019/version.json
CHANGED
|
@@ -71,7 +71,7 @@ var withInlineCardFromTextStamp = function withInlineCardFromTextStamp(issue) {
|
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
var isNotAllowedChars = function isNotAllowedChars(char) {
|
|
74
|
-
return !/\s|\(|\)
|
|
74
|
+
return !/\s|\(|\)|!|\.|\,|\/|\:/.test(char);
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
export var buildIssueKeyRegex = function buildIssueKeyRegex(inlineCardConversion) {
|
package/dist/esm/version.json
CHANGED