diff --git a/src/Common.js b/src/Common.js
index 07cb9a3..f9e48c7 100644
--- a/src/Common.js
+++ b/src/Common.js
@@ -140,21 +140,27 @@ export class HighlightedMarkdown extends Component {
{
shouldProcessNode: (node) => node.name === 'img',
processNode(node, index) {
+ const rp =
+ STORAGE_BASE && node.attribs.src.startsWith(STORAGE_BASE)
+ ? 'origin'
+ : 'no-referrer';
return (
-
-
-
+
+
+
+
+
);
},
},