-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix: P in P #1999
Conversation
@@ -1 +1 @@ | |||
20.9.0 | |||
20.11.1 |
There was a problem hiding this comment.
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.
size-limit report 📦
|
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.
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. |
There was a problem hiding this 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 ?
### [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))
Use a
<span>
instead of<p>
for Notification subtitlesOur 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.