mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-03 01:38:51 +03: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
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,8 @@ module.exports = React.createClass({
|
||||||
links.push(node);
|
links.push(node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (node.tagName === "PRE" || node.tagName === "CODE") {
|
else if (node.tagName === "PRE" || node.tagName === "CODE" ||
|
||||||
|
node.tagName === "BLOCKQUOTE") {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (node.children && node.children.length) {
|
else if (node.children && node.children.length) {
|
||||||
|
|
Loading…
Reference in a new issue