Skip to content
Snippets Groups Projects

Dev

Merged Hugo SUBTIL requested to merge dev into master
42 files
+ 858
113
Compare changes
  • Side-by-side
  • Inline
Files
42
+ 2
1
@@ -81,8 +81,9 @@ function processImagesInHTML(html) {
// Find images that Ghost Upload supports
let imageRegex = /="([^"]*?(?:\.jpg|\.jpeg|\.gif|\.png|\.svg|\.sgvz))"/gim;
let imagePromises = [];
let result;
while ((const result = imageRegex.exec(html)) !== null) {
while ((result = imageRegex.exec(html)) !== null) {
let file = result[1];
// Upload the image, using the original matched filename as a reference
imagePromises.push(
Loading