Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Stash not rendering block in README.md

Jeff Lasslett September 9, 2013

Greetings,

I have some markdown with a definition list <dl> ... </dl>. Sadly the whole <dl> block is not rendered. I have followed the rules as far as I can tell: the opening and closing tags are in the first column and on lines of their own.

The "dingus" at http://daringfireball.net/projects/markdown/dingus renders my content just fine. Stash just ignores it.

I installled the ReadMe plugin for stash and in the 'Overview' page that it adds my <dl> block is just shown in source form, not rendered as a lovely definition list as it would be on github.

Below is some test markdown where the definition list isn't rendered by stash:

Test README

---

## What's this?

This is a sample README to see if a definition list will be respected by stash's markdown renderer.

## Definition list should be below here

<dl>

<dt>Some term</dt>

<dd>The definition of that term

</dd>

<dt>Another term</dt>

<dd>Another definition

</dd>

</dl>

## Definition list should be above here

## Another random section

Some __more__ content.

What am I doing wrong?

Thanks,

Jeff

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
cofarrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2013

Hi Jeff,

I'm afraid you're not doing anything wrong. I was going to point the finger at Pegdown, which is our open source library for parsing markdown. However, this looks like an actual Stash bug - our HTML sanitiser is stripping out anything inside a dl tag. :(

I've raised an issue for this:

https://jira.atlassian.com/browse/STASH-3861

Sorry about that.

Charles

Jeff Lasslett September 15, 2013

Thanks Charles,

Now I know. :-)

I look forward to a fix.

TAGS
AUG Leaders

Atlassian Community Events