[PR #119] [MERGED] MediaLinkExtension: Remove unexpected closing tag #820

Open
opened 2026-01-29 14:45:57 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/119
Author: @meziantou
Created: 5/28/2017
Status: Merged
Merged: 5/28/2017
Merged by: @xoofx

Base: masterHead: master


📝 Commits (2)

📊 Changes

3 files changed (+7 additions, -2 deletions)

View changed files

📝 src/Markdig.Tests/Specs/MediaSpecs.md (+3 -0)
📝 src/Markdig.Tests/Specs/Specs.cs (+4 -1)
📝 src/Markdig/Extensions/MediaLinks/MediaLinkExtension.cs (+0 -1)

📄 Description

The following markdown:

![Video3](https://sample.com/video.mp4)

Ouputs:

<p><video width="500" height="281" controls><source type="video/mp4" src="https://sample.com/video.mp4"></source></video></iframe></p>

The </iframe> is unexpected as there is no opening tag.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/xoofx/markdig/pull/119 **Author:** [@meziantou](https://github.com/meziantou) **Created:** 5/28/2017 **Status:** ✅ Merged **Merged:** 5/28/2017 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`d9607cc`](https://github.com/xoofx/markdig/commit/d9607cc68729fb3295ee07457e56155fd5950e05) Update tests - [`3ac9f2e`](https://github.com/xoofx/markdig/commit/3ac9f2e7885dd52e1e74b5d6cb6b9172a21433f9) Fix issue ### 📊 Changes **3 files changed** (+7 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig.Tests/Specs/MediaSpecs.md` (+3 -0) 📝 `src/Markdig.Tests/Specs/Specs.cs` (+4 -1) 📝 `src/Markdig/Extensions/MediaLinks/MediaLinkExtension.cs` (+0 -1) </details> ### 📄 Description The following markdown: ```` ![Video3](https://sample.com/video.mp4) ```` Ouputs: ````html <p><video width="500" height="281" controls><source type="video/mp4" src="https://sample.com/video.mp4"></source></video></iframe></p> ```` The `</iframe>` is unexpected as there is no opening tag. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 14:45:57 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#820