Ticket #516 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

code block incorrectly displayed in reply

Reported by: xafro Assigned to: Blackhex
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9

Description

I think there's a bug with the code block wiki formatting handling ("{{{" and "}}}") in reply text.

I tested with the following text:

{{{
#include <iostream>

int
main()
{
	cout << "I love the disccusion plugin!" << "\n";

	return 0;
}
}}}

This code block shows up fine in the topic message and in the preview mode for reply, but if you actually submit it as a reply, it shows up like this:

#include &lt;iostream&gt;

int
main()
{
	cout &lt;&lt; &#34;I love the disccusion plugin!&#34; &lt;&lt; &#34;\n&#34;;

	return 0;
}

By the way, I strongly agree with all three of hrvelic's recent enhancement requests:

-Edit post functionality (#511)
-Alternate topic view functionality (#512)
-Quote functionality (#513)

with priority being this order.

thank you!

Attachments

Change History

07/17/06 16:01:33 changed by Blackhex

  • status changed from new to closed.
  • resolution set to fixed.

Thanks for noticing this bug. Fixed in changeset 1034. All hrvelic's suggestion are great and I'll implement them but curently I'm working on ScreenshotsPlugin so be please patient.

07/18/06 02:21:30 changed by xafro

It works! Thank you very much!


Add/Change #516 (code block incorrectly displayed in reply)




Change Properties
Action