---
title: "Comment by mizab chohan on \"Rich text in Arabic portals: paste, sanitize and render\" | Hashnode"
description: "The idea of treating pasted content as an import rather than simply accepting the clipboard HTML is really important. I also think testing the same saved note a"
url: "https://hashnode.com/posts/rich-text-arabic-portals-paste-sanitize-render/6aef082a4525742078de46de/comment/6aef3cfebd4ad8233da4d808"
---

[Discussion](https://hashnode.com/posts/rich-text-arabic-portals-paste-sanitize-render/6aef082a4525742078de46de)

Comment [Rich text in Arabic portals: paste, sanitize and render](https://hashnode.com/posts/rich-text-arabic-portals-paste-sanitize-render/6aef082a4525742078de46de)

[mizab chohan](https://hashnode.com/@kuwait-career-guide)

[Nov 7](https://hashnode.com/posts/rich-text-arabic-portals-paste-sanitize-render/6aef082a4525742078de46de/comment/6aef3cfebd4ad8233da4d808)

The idea of treating pasted content as an import rather than simply accepting the clipboard HTML is really important. I also think testing the same saved note across different views is essential, because formatting that looks correct in an editor may not behave the same way in emails or exported documents. The acceptance tests make this approach much more practical for developers. Great technical breakdown!
