Skip to content

Text in code blocks is linkified #9613

@anoadragon453

Description

@anoadragon453

Description

Links that are part of a code block are linkified, which can make it hard to copy part of the text.

Example video:
https://streamable.com/0rbfl

Steps to reproduce

  • Post something that will turn into a link in a code block
  • Click it

While this might be nice for convenience, code blocks are supposed to not be processed in any way. Additionally, having things linkified can cause copying problems.

Log: not sent?

Version information

  • Platform: web
  • Browser: Chrome
  • OS: Debian Linux
  • URL: build of riot.im/develop

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-TimelineO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectZ-PapercutsVisible. Impactful. Predictable to action.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions