forked from codu-code/codu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Ensure the article appears exactly as it will when published co…
…du-code#1102 (codu-code#1153) * feat: Ensure the article appears exactly as it will when published * Update package-lock.json to fix dependency issues * Refactor JSON parsing to optimize performance by parsing 'post.body' only once * fix: add DOMPurify for sanitizing HTML to prevent XSS attacks * fix: align pre-publish editor design to match post-publish article appearance * refactor: remove unnecessary divs and clean up code without affecting layout
- Loading branch information
1 parent
e4102dd
commit 732d91f
Showing
6 changed files
with
588 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.