GithubHelp home page GithubHelp logo

Comments (4)

malthe avatar malthe commented on May 23, 2024

What string value does view/from_ have? I'm suspecting that it's already an escaped string and that somehow structure is supposed to unescape it.

Can you confirm this?

from chameleon.

rpatterson avatar rpatterson commented on May 23, 2024

Gah, my bad. It was the "To:" expression not the "From:" expression that was causing the problem and there I had a really complex bit of TAL that really belonged in the view. So my problem is solved now and I'm closing the issue. For future reference, here's the horrible TAL that works without Chameleon but fails with Chameleon:

To: <tal:context_name condition="context_name" replace="string:&quot;${context_name}&quot;" /><tal:space condition="context_name"> </tal:space><tal:lt replace="structure lt"/><tal:context_email replace="python:context.getProperty('email')" /><span tal:replace="structure gt"/>

from chameleon.

rpatterson avatar rpatterson commented on May 23, 2024

My bad, see the comment on the ticket.

Sorry,
Ross

On Sat, Jul 23, 2011 at 12:41 AM, malthe <
[email protected]>wrote:

What string value does view/from_ have? I'm suspecting that it's
already an escaped string and that somehow structure is supposed to
unescape it.

Can you confirm this?

Reply to this email directly or view it on GitHub:
#28 (comment)

from chameleon.

malthe avatar malthe commented on May 23, 2024

NP, I'll take a look at that nasty TAL :-)

\malthe

On 23 July 2011 11:03, rpatterson
[email protected]
wrote:

My bad, see the comment on the ticket.

Sorry,
Ross

On Sat, Jul 23, 2011 at 12:41 AM, malthe <
[email protected]>wrote:

What string value does view/from_ have? I'm suspecting that it's
already an escaped string and that somehow structure is supposed to
unescape it.

Can you confirm this?

Reply to this email directly or view it on GitHub:
#28 (comment)

Reply to this email directly or view it on GitHub:
#28 (comment)

from chameleon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.