Opened 6 years ago

Closed 5 years ago

#1085 closed defect (wontfix)

markdown in description

Reported by: Marcus Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:

Description

When uploading a file, it states that markdown can be used for formatting. I have tried severel differen formattings but none seems to be applied.

Subtickets

Attachments (1)

0001-Fix-1085-allow-h1-h2-in-html-cleanup.patch (1.8 KB) - added by Loic Dachary 5 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 6 years ago by Marcus

Only things like h1 / h2 does not seem to work. Formattings like bold / italic work fine.

comment:2 Changed 5 years ago by Loic Dachary

Status: newaccepted

In he following:

AAAAAAA
=======

BBBBBBB


CCCCCCC

the output is rendered the same for AAAAAA, BBBBBBB and CCCCCC.

comment:3 Changed 5 years ago by Loic Dachary

Owner: set to Loic Dachary
Status: acceptedin_progress

comment:4 Changed 5 years ago by Loic Dachary

bin/python -m markdown <<EOF
AAAAAAA
=======

BBBBBBB


CCCCCCC
EOF

<h1>AAAAAAA</h1>
<h2>BBBBBBB</h2>
<p>CCCCCCC</p>

Changed 5 years ago by Loic Dachary

comment:5 Changed 5 years ago by Loic Dachary

Owner: Loic Dachary deleted
Status: in_progressreview

comment:6 Changed 5 years ago by Loic Dachary

Resolution: wontfix
Status: reviewclosed

The reason why h1 and h2 are removed is because they would mess the display. More information about the rationale at https://issues.mediagoblin.org/ticket/389

Note: See TracTickets for help on using tickets.