Skip to content

Markdown XML code-blocks with URLs rendered incorrectly #1442

Closed
@mjwwit

Description

@mjwwit
  • Gitea version (or commit ref): 1.1.0
  • Git version: n/a
  • Operating system: Mac OS X (Chrome 57, Safari 10, Firefox 49)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes
    • No
    • Not relevant
  • Log gist: n/a

Description

The rendering of markdown XML code-blocks is incorrect if the code-block contains a URL. I'm guessing the JS code responsible for parsing URLs conflicts with highlight.js.

Screenshots

screen shot 2017-04-04 at 13 11 44

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions