mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #197] [MERGED] Convert relative URLs to absolute #858
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/xoofx/markdig/pull/197
Author: @markheath
Created: 1/17/2018
Status: ✅ Merged
Merged: 1/17/2018
Merged by: @xoofx
Base:
master← Head:relative-urls📝 Commits (1)
96c4690HTML renderer supports converting relative URLs on links and images to absolute #143📊 Changes
3 files changed (+59 additions, -0 deletions)
View changed files
📝
src/Markdig.Tests/Markdig.Tests.csproj(+1 -0)➕
src/Markdig.Tests/TestRelativeUrlReplacement.cs(+48 -0)📝
src/Markdig/Renderers/HtmlRenderer.cs(+10 -0)📄 Description
HTML renderer supports converting relative URLs on links and images to absolute #143
Doesn't touch links inside HTML blocks, just markdown defined blocks
Added a few basic unit tests.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.