Modify

Opened 3 years ago

Last modified 5 days ago

#6722 new defect

Themes do not display diffs nicely

Reported by: mestudd Owned by: rjollos
Priority: normal Component: SlideShowPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Create a presentation with a {{{#!diff}}} section. The wiki page displays the diff niceley formatted. The presentation page does not.

Attachments (1)

SlideShowWithDiff.png (50.2 KB) - added by rjollos 3 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 3 years ago by rjollos

Acknowledged.

Inserting a diff, such as:

{{{
#!diff
--- trac/wiki/formatter.py	(revision 5695)
+++ trac/wiki/formatter.py	(working copy)
@@ -462,7 +462,7 @@
             type_ = 'ul'
         else:
             type_ = 'ol'
-            idx = '01iI'.find(listid)
+            idx = '0iI'.find(listid)
             if idx >= 0:
                 class_ = ('arabiczero', None, 'lowerroman', 'upperroman')[idx]
             elif listid.isdigit():
}}}

Results in:


Changed 3 years ago by rjollos

comment:3 Changed 3 years ago by rjollos

Please let me know if you are seeing any behavior that I did not capture in comment:1 and comment:2, and I'll look into whether this can be fixed.

comment:4 Changed 3 years ago by mestudd

Yup, that's exactly what I saw.

comment:5 Changed 3 years ago by rjollos

  • Component changed from S5Plugin to SlideShowPlugin

comment:6 Changed 3 years ago by rjollos

  • Priority changed from normal to high
  • Status changed from new to assigned

comment:7 Changed 3 years ago by rjollos

[9429] may help with this ticket and #6896.

comment:8 Changed 3 weeks ago by rjollos

  • Priority changed from high to normal

comment:9 Changed 5 days ago by rjollos

  • Status changed from assigned to new

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'new'.
The owner will be changed from rjollos to anonymous. Next status will be 'assigned'.
Author


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

 
Note: See TracTickets for help on using tickets.