Skip to content

Commit

Permalink
Merge branch 'spam-proposal-warning' into release-v2.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tombeynon committed Oct 24, 2023
2 parents 6c2843f + 53b0afa commit 4ec838d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/ProposalDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ function ProposalDetails(props) {
<ReactMarkdown
children={fixDescription}
remarkPlugins={[remarkGfm]}
disallowedElements={proposal.isSpam && ['a']}
unwrapDisallowed={true}
components={{
h1: 'h5',
h2: 'h6',
Expand Down

0 comments on commit 4ec838d

Please sign in to comment.