From ad12064a17b1caffd2ab965a1e3a75c52fac132e Mon Sep 17 00:00:00 2001 From: lucaslcode <32044095+lucaslcode@users.noreply.github.com> Date: Tue, 18 Aug 2020 23:03:24 +0100 Subject: [PATCH] Fix image rule images -> image to match prop --- src/rules/img.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules/img.js b/src/rules/img.js index 2402516..c653686 100644 --- a/src/rules/img.js +++ b/src/rules/img.js @@ -3,7 +3,7 @@ import { Utils } from './../utils' const IMG_REGEX = /!\[(.*)\]\(((?:(http[s]?|ftp)?:?\/{0,2})[\w\/\-+?#=.:]+)\)/g export class Img { - static get RULE_NAME () { return 'images' } + static get RULE_NAME () { return 'image' } static parse (source) { return source.replace(IMG_REGEX, (match, alt, src) => {