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

Markdown link fix #8328

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Conversation

SchrodingersGat
Copy link
Member

Improves sanitizing of markdown fields. Currently adding a raw URL into the markdown will cause an error.

The sanitizing approach has been simplified a bit, and some more unit tests added to validate the new edge case.

@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed backport Apply this label to a PR to enable auto-backport action backport-to-0.16.x labels Oct 22, 2024
@SchrodingersGat SchrodingersGat added this to the 0.17.0 milestone Oct 22, 2024
Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 5594e99
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/671703f6c116240008bd3876

Copy link

codecov bot commented Oct 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.23%. Comparing base (ddea9fa) to head (5594e99).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8328   +/-   ##
=======================================
  Coverage   84.23%   84.23%           
=======================================
  Files        1166     1166           
  Lines       52872    52884   +12     
  Branches     1942     1942           
=======================================
+ Hits        44535    44547   +12     
  Misses       7854     7854           
  Partials      483      483           
Flag Coverage Δ
backend 85.90% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@SchrodingersGat SchrodingersGat merged commit cb0248d into inventree:master Oct 22, 2024
29 checks passed
@SchrodingersGat SchrodingersGat deleted the markdown-link-fix branch October 22, 2024 02:06
github-actions bot pushed a commit that referenced this pull request Oct 22, 2024
* Improve cleaning of markdown content

* Update unit test with new check

(cherry picked from commit cb0248d)
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
0.16.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat added a commit that referenced this pull request Oct 22, 2024
* Improve cleaning of markdown content

* Update unit test with new check

(cherry picked from commit cb0248d)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Apply this label to a PR to enable auto-backport action backport-to-0.16.x bug Identifies a bug which needs to be addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant