logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 4993dc37e2430067a92ec78389c9d9dce79d19db
parent 0671aa0dd0cd199dc6206ae8b3fb0de114acddfe
Author: Henry Jameson <me@hjkos.com>
Date:   Thu, 17 Mar 2022 08:47:19 +0200

fix rich content not rendering stillimage nor links correctly

Diffstat:

Msrc/components/rich_content/rich_content.jsx4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/rich_content/rich_content.jsx b/src/components/rich_content/rich_content.jsx @@ -76,7 +76,7 @@ export default { const renderImage = (tag) => { return <StillImage - {...{ attrs: getAttrs(tag) }} + {...getAttrs(tag)} class="img" /> } @@ -222,7 +222,7 @@ export default { attrs.target = '_blank' const newChildren = [...children].reverse().map(processItemReverse).reverse() - return <a {...{ attrs }}> + return <a {...attrs}> { newChildren } </a> }