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) => {