Edgewall Software

Ticket #168 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

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

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

Change History

Changed 10 months ago by cboos

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

Changed 10 months ago by athomas

  • owner changed from filtering to athomas
  • status changed from new to assigned

Thanks for the patch Christian.

Changed 10 months ago by athomas

  • status changed from assigned to closed
  • resolution set to fixed

Applied in r784.

Changed 10 months 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().

Changed 10 months ago by athomas

Yes, see #169 and r785/r786.

Add/Change #168 (SubstituteTransformation doesn't preserve Markup)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.