Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Support to_s during escaping

#7

Reported by Jonas Bähr

In my templates I have many calls to the latex_escape function with objects that are not necessarily Strings (no :gsub). The old version of rtex used to call :to_s for each object before the gsub'ing so there where no problems. The following patch restores this behaviour. It would be nice if you could integrate it since it prevents a lot of porting and keeps the templates more readable.

Reported by Bruce Williams · September 20th, 2008 @ 01:31 PM

State: resolved
Milestone: none
Assigned to: Bruce Williams Bruce Williams

Activity

  1. Bruce Williams
    Bruce Williams
    • State changed from new to resolved
    • Tag set to bug, escaping, v2-branch

    Resolved by 07278e3566b664da14893bd51bb76f217968de28

    September 20th, 2008 @ 01:33 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.