Comments (7)
The {{{item}}} is supposed to output something unescaped. The default behavior is to escape everything. (This syntax will be changing in the next release, but that's what it should do in the current release.) Is this what you wanted? What are you trying to output?
HTML entities like –
can be placed directly in <Title:>
, just like in other templates.
from derby.
I originally wrote the problem backwards. The issue is unescaping not working in the <Title:>
. I added the example string that I used where it worked correctly in the <Body:>
.
from derby.
Oh, I see. Braces indicate you want to do a variable replacement regardless of whether they are escaped or not. If you want to output text literally, you should not put it in braces. Just do:
<Title:>Crème Brûlée
from derby.
The entities are contained within a variable. My full title is a mix:
<Title:>
{{{title}}} - Website Name
from derby.
Ohhh. Sorry, now I understand what you mean. Yeah, that's definitely a bug. I'll fix it.
from derby.
OK, just fixed. Thanks for the report.
from derby.
No problem. Thanks for the quick turnaround.
from derby.
Related Issues (20)
- Dead Link on Frontpage HOT 1
- Derby 0.10 regression, with passing templates through a component then partial
- How to add some external JS with DOM to derby? HOT 5
- Is there template syntax support for JetBains PhpStrom/WebStorm? HOT 2
- Two or more apps will never autoRefresh both HOT 2
- [PR] Not possible to set style file for component HOT 1
- Dependencies always override "existing" views HOT 2
- View Partial Event Emitters
- TypeScript support? HOT 3
- Is there any method for build-only scripts? HOT 1
- Upgrade dependency Racer HOT 1
- [Bug] {{each}} item binding with square brackets doesn't update, when right side is an aliased attribute HOT 2
- [Bug] Derby tries to rewrite model with external bindings when templates updated in dev mode
- [Bug] Query ref does not works in scoped models
- Is there any way to make checkbox indeterminate?
- [Bug] OR does not works with arrays in templates
- [Docs] Use of `literal` in templates undocumented HOT 1
- [Bug] {{if @content}} breaks parent reference in conditionals when using "within"
- Support <html> tag on derby pages
- Pull request in derby-site HOT 2
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 derby.