#124: Better handling of ChangeLog style commit messages
------------------------------+---------------------------------------------
Reporter: Mikael Hallendal | Owner: jonas
Type: enhancement | Status: reopened
Priority: normal | Milestone: 0.10
Component: wiki | Version: 0.8
Severity: normal | Resolution:
Keywords: review |
------------------------------+---------------------------------------------
Comment (by cboos):
As discussed with Alec on IRC, I've added the same logic for blockquotes
than the one I used for lists, i.e. each increase in indentation will
create only one additional block level.
Also, this introduces support for a citation syntax, which reuses most
of the indentation code.
A wiki text like:
{{{
----
alpha wrote:
> beta wrote:
>> what about being able to add reply to comment?
> I'd like this!
So let's implement it...
----
}}}
will be rendered like this:
{{{
#!html
<hr />
<p>
alpha wrote:
</p>
<blockquote class="citation">
<p>
beta wrote:
</p>
<blockquote class="citation">
<p>
what about being able to add reply to comment?
</p>
</blockquote>
<p>
I'd like this!
</p>
</blockquote>
<p>
So let's implement it...
</p>
<hr />
}}}
Plus there's normally a bit of CSS which makes the above output look
prettier
(no margins and a solid left border).
Even more surprisingly than before, all the existing tests ''still''
passes :)
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/124>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets