Skip to content

Commit

Permalink
fix for webmention sending
Browse files Browse the repository at this point in the history
  • Loading branch information
aciccarello committed Aug 1, 2023
1 parent a435208 commit f973adf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,12 @@ module.exports = function (eleventyConfig) {
}
}); // Helpful for debugging objects
eleventyConfig.addFilter('sanitizeFeedContent', (content) =>
content.replace(/object-position: \d+% \w+/gm, ''),
content
.replace(/object-position: \d+% \w+/gm, '')
// WM sender gets confused by u-url on nested h-cite
// Would also strip from text from feed but should be rare
// See https://github.com/remy/wm/issues/62
.replace(/u-url/gm, ''),
);

eleventyConfig.addPlugin(require('./_build/date'));
Expand Down

0 comments on commit f973adf

Please sign in to comment.