Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(client): support HTML tags in heading and lead props #840

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

hxtree
Copy link
Owner

@hxtree hxtree commented Feb 23, 2024

  • Modify Hero component to use dangerouslySetInnerHTML for heading and lead props
  • Ensure HTML content is sanitized to prevent XSS attacks

- Modify Hero component to use dangerouslySetInnerHTML for heading and lead props
- Ensure HTML content is sanitized to prevent XSS attacks

Signed-off-by: hxtree <[email protected]>
@hxtree hxtree enabled auto-merge (squash) February 23, 2024 14:41
Copy link

codacy-production bot commented Feb 23, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.05%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (bbb9cfa) 2138 1574 73.62%
Head commit (c528368) 2138 (+0) 1575 (+1) 73.67% (+0.05%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#840) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation

@hxtree hxtree merged commit 4fbd434 into main Feb 23, 2024
12 of 13 checks passed
@hxtree hxtree deleted the feature/breakpoint-heo branch February 23, 2024 14:51
@hxtree hxtree restored the feature/breakpoint-heo branch February 25, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant