Merge pull request #2516 from hmhealey/disableautolinker

Disabled autolinker
Этот коммит содержится в:
Joram Wilander
2016-03-23 14:22:54 -04:00
родитель 6275ad2ae4 c16fcbbfaf
Коммит 7af2e6f87a

Просмотреть файл

@@ -314,7 +314,13 @@ export function getTimestamp() {
// extracts links not styled by Markdown // extracts links not styled by Markdown
export function extractLinks(text) { export function extractLinks(text) {
const links = []; text; // eslint-disable-line no-unused-expressions
Autolinker; // eslint-disable-line no-unused-expressions
// skip this operation because autolinker is having issues
return [];
/*const links = [];
let inText = text; let inText = text;
// strip out code blocks // strip out code blocks
@@ -348,7 +354,7 @@ export function extractLinks(text) {
} }
); );
return links; return links;*/
} }
export function escapeRegExp(string) { export function escapeRegExp(string) {