Skip to content

feat(cms): fix expired images in article template

Giannis Kopanas requested to merge fix-expired-images into main

This fixes expired images from NunJunks templates. I had to create a new function and a regex to catch all the img tags because the original replaceImageSrc function uses cheerio and expects a valid html not a NunJunks template which is the case now.

Merge request reports