Skip to content

Commit

Permalink
fix: remove hiding all <br> tags in sanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
joonatank committed Jan 20, 2025
1 parent fc819e1 commit 8adf451
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/common/src/components/Sanitize.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ const StyledContent = styled.div`
p:empty {
display: none;
}
/* old data has extra line-breaks instead of just using <p> */
p br {
display: none;
}
a {
text-decoration: underline;
color: var(--tilavaraus-link-color);
Expand Down

0 comments on commit 8adf451

Please sign in to comment.