Comments (4)
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.
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:"${context_name}"" /><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.
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 somehowstructure
is supposed to
unescape it.Can you confirm this?
Reply to this email directly or view it on GitHub:
#28 (comment)
from chameleon.
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,
RossOn 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 somehowstructure
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)
- Missing tag for 4.0.1 HOT 2
- 4.0.1: `chameleon` code is using deprecated `pkg_resources` module HOT 6
- Boolean HTML attribute behavior under >3.8.0 HOT 2
- 4.1.0 wheel doesn't work under Python 3.11 HOT 5
- RFE: is it possible to start making github releases?🤔 HOT 3
- SystemError: AST constructor recursion depth mismatch HOT 9
- dict-like Scope breaks locals() introspection HOT 2
- 4.3.0 release is breaking on Windows HOT 6
- Fix deprecated ast.Str (replace with ast.Constant)
- Tests are missing in 4.4.1 release HOT 4
- Automated release workflow
- 'PosixPath' object has no attribute 'at' HOT 3
- Type annotations HOT 5
- Find better linting tool HOT 6
- PageTemplateLoader constructor no longer accepts default_extension as a positional argument in v4.5.0 HOT 1
- Static symbols sometimes not correctly imported HOT 1
- 4.5.2: test suite is part of the installed resources and some warnings HOT 5
- Result of use-macro is placed in the wrong position, when using i18n:translate
- How to Have a placeholder preceded immediatly by a $ HOT 3
- Can you put a placeholder inside a placeholder? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chameleon.