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(app): Use our own Markdown component that sanitizes HTML following GitHub-like rules #2982

Merged
merged 8 commits into from
Jan 25, 2024

Conversation

nellh
Copy link
Contributor

@nellh nellh commented Jan 24, 2024

This passes through the raw HTML strings instead of parsing it as JSX if present. All HTML will be displayed as raw text.

See #2873

Copy link

codecov bot commented Jan 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1228424) 64.91% compared to head (00e4566) 65.15%.
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2982      +/-   ##
==========================================
+ Coverage   64.91%   65.15%   +0.23%     
==========================================
  Files         379      380       +1     
  Lines       24320    24487     +167     
  Branches      877      878       +1     
==========================================
+ Hits        15787    15954     +167     
  Misses       8533     8533              

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

@nellh nellh changed the title fix(app): Display raw HTML in markdown instead of parsing to JSX fix(app): Use our own Markdown component that sanitizes HTML following GitHub-like rules Jan 24, 2024
@nellh nellh merged commit e8a2ba9 into master Jan 25, 2024
8 checks passed
@nellh nellh deleted the 2873-disable-html-parsing-for-markdown branch January 25, 2024 02:07
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