Edgewall Software

Ticket #168 (closed defect: fixed)

Opened 19 months ago

Last modified 19 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 Download (2.3 KB) - added by cboos 19 months ago.
After substitution, wrap the output data in Markup if the input data was Markup

Change History

Changed 19 months ago by cboos

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

Changed 19 months ago by athomas

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

Thanks for the patch Christian.

Changed 19 months ago by athomas

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

Applied in r784.

Changed 19 months ago by cboos

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

Changed 19 months ago by athomas

Yes, see #169 and r785/r786.

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

Author


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


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