Skip to content

🐛 Markdown rendering for governance action metadata dealing with \n #2712

@Ryun1

Description

@Ryun1

Area

Voting Pillar

Domain

gov.tools

Which wallet were you using?

No response

Context

The issue is with text\n\nsome more text is expected to be rendered as:

text

some more text

but instead GovTool renders it as:

text
some more text

I did test by adding another new line, so text\n\nsome more text but this did not work, GovTool rendered it the same

Steps to reproduce

https://preview.gov.tools/governance_actions/949b57c802a51273793b49381f192757d4e2b764632ac97a205be88b6b1fa53b#0

Actual behavior

Multiple new lines arent respected by render

Expected behavior

Multiple new lines are respected by render

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions