Skip to content

Markdown parsing incorrectly for video linksΒ #3845

Closed
@coolaj86

Description

@coolaj86

Gitea version 1.4.0

Go version 1.1.0

This snippet in the README.md should create an image that links to the YouTube video:

[![Free SSL with Greenlock.js](https://i.imgur.com/Y8ix6Ts.png)](https://youtu.be/e8vaR4CEZ5s)

Like this:

Free SSL with Greenlock.js

Instead it creates an <a> tag with an empty string that cannot be clicked on for the YouTube video and a second link to the picture, which links to the picture itself.

Example:

https://git.coolaj86.com/coolaj86/greenlock-express.js/src/commit/dfabdd15dd04742a7af296b70ad84d674f956953/README.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions