Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

clipper: ignore noscript elements

Abdullah Attac53fab603fd0
diff --git a/packages/clipper/src/clone.ts b/packages/clipper/src/clone.ts
index 071979dee..8df1629af 100644
--- a/packages/clipper/src/clone.ts
+++ b/packages/clipper/src/clone.ts
@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-const INVALID_ELEMENTS = ["script"];
+const INVALID_ELEMENTS = ["script", "noscript"];
type CloneNodeOptions = {
images?: boolean;