Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#516 closed defect (fixed)

code block incorrectly displayed in reply

Reported by: xafro Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9


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>

	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;

	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 12 years ago by Radek Bartoň

Resolution: fixed
Status: newclosed

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 12 years ago by xafro

It works! Thank you very much!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Radek Bartoň.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.