[Glitch] Emoji: Remove re: from handleElement in StatusContent
Port 9027d604204121808019e4f9b45e5e86565e7f3d to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
da99ec0eea
commit
7f5232c377
@ -304,7 +304,7 @@ class StatusContent extends PureComponent {
|
||||
this.node = c;
|
||||
};
|
||||
|
||||
handleElement = (element, {key, ...props}) => {
|
||||
handleElement = (element, { key, ...props }) => {
|
||||
if (element instanceof HTMLAnchorElement) {
|
||||
const mention = this.props.status.get('mentions').find(item => element.href === item.get('url'));
|
||||
return (
|
||||
@ -317,6 +317,8 @@ class StatusContent extends PureComponent {
|
||||
key={key}
|
||||
/>
|
||||
);
|
||||
} else if (element instanceof HTMLParagraphElement && element.classList.contains('quote-inline')) {
|
||||
return null;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user