Bugs: Browse | Submit New | Admin

[#18215] Inline attribute lists do not work inside div's

Date:
2008-02-19 20:52
Priority:
3
Submitted By:
Oleg Ivanov (morhekil)
Assigned To:
Andrea Censi (andrea)
Category:
Markdown Parser
State:
Open
Summary:
Inline attribute lists do not work inside div's

Detailed description
IAL inside <div markdown="1">..</div> block seems to be ignored. For example, this code works

[link](/help){: #tst class=myclass}
*test*

and generates <a href="/help" id="tst" class="myclass">link</a>, but this
doesn't

<div markdown='1'>
[link](/help){: #tst class=myclass}
*test*
</div>

this one generates only basic <a href="/help">link</a> without any IAL's data.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-02-20 20:54
Sender: Andrea Censi

No, it is not implemented yet. Hopefully it will be sometime
soon.
Date: 2008-02-20 20:40
Sender: Andrea Censi

No, it is not implemented yet. Hopefully it will be sometime
soon.
Date: 2008-02-20 20:39
Sender: Oleg Ivanov

yes, maruku's div syntax would work fine, too. But the 
latest stable gem doesn't understand it, is this syntax 
implemented in the svn?
Date: 2008-02-20 20:25
Sender: Andrea Censi

Ack.

The fix is not immediate given the way HTML parsing is currently
implemented.

In this case, would you use the DIV syntax
(http://maruku.rubyforge.org/div.html, to be implemented), instead
of the HTML div?

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item