mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-15 17:31:23 +02:00
don't show link preview when link is inside of a quote
Signed-off-by: Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com>
This commit is contained in:
parent
33f5c286bb
commit
b3fc1844e8
@ -131,7 +131,8 @@ module.exports = React.createClass({
|
||||
links.push(node);
|
||||
}
|
||||
}
|
||||
else if (node.tagName === "PRE" || node.tagName === "CODE") {
|
||||
else if (node.tagName === "PRE" || node.tagName === "CODE" ||
|
||||
node.tagName === "BLOCKQUOTE") {
|
||||
continue;
|
||||
}
|
||||
else if (node.children && node.children.length) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user