This repository was archived by the owner on Nov 17, 2025. It is now read-only.
Commit 676f232
committed
Fix ReactMarkdown disallowed elements
The AI fixed an error in `src/pages/NewsDetail.tsx` where both `allowedElements` and `disallowedElements` were used simultaneously in the `ReactMarkdown` component, which is not permitted. It will resolve this by removing `disallowedElements` and relying solely on `allowedElements` to ensure proper markdown rendering.1 parent 6d159b6 commit 676f232
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
| 68 | + | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
0 commit comments