Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#516 closed defect (fixed)

code block incorrectly displayed in reply

Reported by: xafro Owned by: 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 (0)

Change History (2)

comment:1 Changed 8 years ago by Blackhex

  • Resolution set to fixed
  • Status changed from new to closed

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.

comment:2 Changed 8 years ago by xafro

It works! Thank you very much!

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.