Modify

Opened 5 years ago

Last modified 20 months 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 5 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 5 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 5 years ago by rjollos

comment:3 Changed 5 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 5 years ago by mestudd

Yup, that's exactly what I saw.

comment:5 Changed 4 years ago by rjollos

  • Component changed from S5Plugin to SlideShowPlugin

comment:6 Changed 4 years ago by rjollos

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

comment:7 Changed 4 years ago by rjollos

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

comment:8 Changed 20 months ago by rjollos

  • Priority changed from high to normal

comment:9 Changed 20 months ago by rjollos

  • Status changed from assigned to new

Add Comment

Modify Ticket

Action
as new The owner will remain rjollos.
Author


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

 
Note: See TracTickets for help on using tickets.