Forum: Redcloth <dl> with multiple <dd>

0f1f17ba297242e9d3c86d4cc0a6ea85?d=identicon&s=25 Iñaki Baz Castillo (Guest)
on 2010-08-29 20:00
(Received via mailing list)
Hi, I basically want to get this HTML output:

-------------------------
<dl>
  <dt>Paragraphs</dt>
  <dd>First paragraph.</dd>
  <dd>Second paragraph.</dd>
</dl>
-------------------------

In this way, I can add a vertical separation (margin-top) between both
paragraphs.


However using RedCloth I cannot get it:

----------------------------
- Paragraphs := First paragraph.
Second paragraph.
----------------------------

maps to:

----------------------------
<dl>
  <dt>Paragraphs</dt>
  <dd>First paragraph.<br />
Second paragraph.</dd>
</dl>
----------------------------


RedCloth inserts a <br /> so it's not possible to simulate a vertical
separation with N pixels between both "paragraphs". Is there a
workaround for achieving it?

Thanks a lot.
This topic is locked and can not be replied to.