Skip to content

Commit

Permalink
Update amazon.js
Browse files Browse the repository at this point in the history
  • Loading branch information
freshlogic committed Dec 5, 2024
1 parent b28a627 commit 60eb383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/amazon.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const regExp = /https?:\/\/(?:[a-z0-9-]+\.)?amazon\.com(?:\/[^\s]*)?(?=\s|$)/i;

module.exports = function(md, args) {
module.exports = function(md) {
const defaultRender = md.renderer.rules.link_open || function(tokens, idx, options, env, self) {
return self.renderToken(tokens, idx, options);
};
Expand Down

0 comments on commit 60eb383

Please sign in to comment.