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

fix: P in P #1999

Merged
merged 2 commits into from
Jun 24, 2024
Merged

fix: P in P #1999

merged 2 commits into from
Jun 24, 2024

Conversation

ahuth
Copy link
Contributor

@ahuth ahuth commented Jun 24, 2024

Use a <span> instead of <p> for Notification subtitles

Our apps render markdown for notifications which contain p tags. This results in p tags nested within p tags, which is not valid HTML and causes React runtime validations to complain.

@ahuth ahuth requested a review from booc0mtaco June 24, 2024 21:14
@@ -1 +1 @@
20.9.0
20.11.1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While here, may as well use the same version of Node as we do in Bento.

Copy link

github-actions bot commented Jun 24, 2024

size-limit report 📦

Path Size
components 87.49 KB (+0.01% 🔺)
styles 27.65 KB (0%)

Our apps render markdown for notifications which contain p tags. This
results in p tags nested within p tags, which is not valid HTML and
causes React runtime validations to complain.
Copy link

codecov bot commented Jun 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.40%. Comparing base (4dc57db) to head (d387172).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1999   +/-   ##
=======================================
  Coverage   97.40%   97.40%           
=======================================
  Files         109      109           
  Lines        2581     2581           
  Branches      648      648           
=======================================
  Hits         2514     2514           
  Misses         65       65           
  Partials        2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@booc0mtaco booc0mtaco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎣 ! div might also do the trick ?

@booc0mtaco booc0mtaco merged commit 7566e2c into main Jun 24, 2024
10 checks passed
@booc0mtaco booc0mtaco deleted the ah-p-in-p branch June 24, 2024 21:51
@booc0mtaco booc0mtaco mentioned this pull request Jul 2, 2024
booc0mtaco added a commit that referenced this pull request Jul 3, 2024
### [15.0.1](v15.0.0...v15.0.1) (2024-07-02)

[Storybook](https://61313967cde49b003ae2a860-cvcvanlzyx.chromatic.com/)

### Bug Fixes

* P in P ([#1999](#1999)) ([7566e2c](7566e2c))
* **Table:** allow nodes in header cells ([#2001](#2001)) ([e471fad](e471fad))
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.

2 participants