Opened 9 years ago

Closed 8 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.

Attachments (1)

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

Download all attachments as: .zip

Change History (7)

comment:1 by Marcus, 9 years ago

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

comment:2 by Loic Dachary, 8 years ago

Status: newaccepted

In he following:

AAAAAAA
=======

BBBBBBB


CCCCCCC

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

comment:3 by Loic Dachary, 8 years ago

Owner: set to Loic Dachary
Status: acceptedin_progress

comment:4 by Loic Dachary, 8 years ago

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

BBBBBBB


CCCCCCC
EOF

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

comment:5 by Loic Dachary, 8 years ago

Owner: Loic Dachary removed
Status: in_progressreview

comment:6 by Loic Dachary, 8 years ago

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.