Răsfoiți Sursa

Merge branch 'feat/enhanced-link-edit-modal-for-master-merge' into feat/replace-perma-link

yusuketk 5 ani în urmă
părinte
comite
6e3dbc2bdb
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/client/js/models/Linker.js

+ 2 - 2
src/client/js/models/Linker.js

@@ -28,9 +28,9 @@ export default class Linker {
     let type = this.types.markdownLink;
 
     // pukiwiki with separator ">".
-    if (str.match(this.patterns.pukiwikiWithLabel)) {
+    if (str.match(this.patterns.pukiwikiLinkWithLabel)) {
       type = this.types.pukiwikiLink;
-      ({ label, link } = str.match(this.patterns.pukiwikiWithLabel).groups);
+      ({ label, link } = str.match(this.patterns.pukiwikiLinkWithLabel).groups);
     }
     // pukiwiki without separator ">".
     else if (str.match(this.patterns.pukiwikiLinkWithoutLabel)) {