yusuketk 5 лет назад
Родитель
Сommit
71c1c75840
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      src/client/js/components/PageEditor/LinkEditModal.jsx

+ 0 - 4
src/client/js/components/PageEditor/LinkEditModal.jsx

@@ -191,10 +191,6 @@ class LinkEditModal extends React.PureComponent {
       // rootPaths of md link and pukiwiki link are different
       const rootPath = linkerType === Linker.types.markdownLink ? path.dirname(pagePath) : pagePath;
       reshapedLink = path.relative(rootPath, linkInputValue);
-      if (!reshapedLink.startsWith('.')) {
-        reshapedLink = `./${reshapedLink}`;
-
-      }
     }
 
     return new Linker(