Edgewall Software

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#168 closed defect (fixed)

SubstituteTransformation doesn't preserve Markup

Reported by: cboos Owned by: athomas
Priority: major Milestone: 0.5
Component: General Version: 0.4.4
Keywords: Cc:

Description

When trying to figure out Scott's problem with a Trac template filter, as posted in trac-dev, I found that the substitute method didn't preserve Markup TEXT.

(Side-note: in order to match the 2000 ft API view, maybe add a Filtering component?)

Attachments (1)

substitute-preserve-Markup-r783.patch (2.3 KB) - added by cboos 17 years ago.
After substitution, wrap the output data in Markup if the input data was Markup

Download all attachments as: .zip

Change History (5)

Changed 17 years ago by cboos

After substitution, wrap the output data in Markup if the input data was Markup

comment:1 Changed 17 years ago by athomas

  • Owner changed from filtering to athomas
  • Status changed from new to assigned

Thanks for the patch Christian.

comment:2 Changed 17 years ago by athomas

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

Applied in r784.

comment:3 Changed 17 years ago by cboos

Huh, r784 was not exactly the same as attachment:substitute-preserve-Markup-r783.patch ... looks like you had other pending changes you committed altogether. In particular, there's a left-over print().

comment:4 Changed 17 years ago by athomas

Yes, see #169 and r785/r786.

Note: See TracTickets for help on using tickets.