Skip to content
Snippets Groups Projects
Commit 55d15bee authored by Benjamin Chodoroff's avatar Benjamin Chodoroff
Browse files

decode html-encoded ampersand in thumbnail image

closes #2392
parent f430f791
No related branches found
No related tags found
No related merge requests found
......@@ -296,10 +296,9 @@ class PostSummary extends React.Component {
// which has the 256x512 for whatever the large breakpoint is where the list layout is used
// and the 640 for lower than that
const blogSize = proxifyImageUrl(p.image_link, '640x480').replace(
/ /g,
'%20'
);
const blogSize = proxifyImageUrl(p.image_link, '640x480')
.replace(/ /g, '%20')
.replace(/&/g, '&');
if (this.props.blogmode) {
thumb = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment