Merge pull request #762 from lieuwex/hide-link-preview-quote
Don't show link preview when link is inside of a quotepull/21833/head
commit
7ae13f5889
|
@ -132,7 +132,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…
Reference in New Issue