Skip to content

fix(links): support mailto: and tel: links in HTML and DOCX conversion - #2696

Open
Udbhav Shrinet (udbhav-shrinet) wants to merge 2 commits into
microsoft:mainfrom
udbhav-shrinet:fix-mailto-tel-links
Open

Udbhav Shrinet (udbhav-shrinet) wants to merge 2 commits into
microsoft:mainfrom
udbhav-shrinet:fix-mailto-tel-links

Conversation

@udbhav-shrinet

Copy link
Copy Markdown

Fixes #2644.

What changed

  • Added and to 's safe link scheme allowlist.
  • Bypassed path percent-encoding for and schemes since they do not represent hierarchical file paths.
  • Added comprehensive unit test coverage in verifying correct markdown generation for mailto and tel links.

Verification

  • Tested locally with : all 35 tests passed successfully.

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.

mailto: and tel: links are converted to plain text

1 participant