Skip to content

Commit

Permalink
Now also copy images without alt (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartenBE authored Jan 8, 2024
1 parent e8a46ee commit ac3d73c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import featuredSlide from './featured-slide.js';

const files = new Set();

const htmlImageRE = /!\[.+?\]\((.+?)\)/g;
const htmlImageRE = /!\[.*?\]\((.+?)\)/g;
const htmlImageBackgroundRE = /<!--.*?data-background-image=["'](.+?)["'].*?-->/g;

const relativeDir = (from, to) => path.relative(from, to).replace(/^\.\./, '.');
Expand Down

0 comments on commit ac3d73c

Please sign in to comment.