mirror of
https://github.com/gurnec/removeddit.git
synced 2026-03-11 08:54:27 +00:00
Fix thumbnails containing &
This commit is contained in:
parent
48f4fada9f
commit
f47063bbcc
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ const Post = (props) => {
|
|||
thumbnail = React.createElement(isUrlThisPost ? Link : 'a', {
|
||||
[isUrlThisPost ? 'to' : 'href']: url,
|
||||
replace: isUrlThisPost ? props.isLocFullPost : undefined
|
||||
}, <img className='thumbnail' src={props.thumbnail} width={thumbnailWidth} height={thumbnailHeight} alt='Thumbnail' />)
|
||||
}, <img className='thumbnail' src={props.thumbnail.replaceAll('&', '&')} width={thumbnailWidth} height={thumbnailHeight} alt='Thumbnail' />)
|
||||
}
|
||||
|
||||
const innerHTML = Array(editedModes.length)
|
||||
|
|
|
|||
Loading…
Reference in a new issue