Giter VIP home page Giter VIP logo

Comments (7)

nateps avatar nateps commented on July 19, 2024

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 &ndash; can be placed directly in <Title:>, just like in other templates.

from derby.

uipoet avatar uipoet commented on July 19, 2024

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.

nateps avatar nateps commented on July 19, 2024

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&egrave;me Br&ucirc;l&eacute;e

from derby.

uipoet avatar uipoet commented on July 19, 2024

The entities are contained within a variable. My full title is a mix:

<Title:>
  {{{title}}} - Website Name

from derby.

nateps avatar nateps commented on July 19, 2024

Ohhh. Sorry, now I understand what you mean. Yeah, that's definitely a bug. I'll fix it.

from derby.

nateps avatar nateps commented on July 19, 2024

OK, just fixed. Thanks for the report.

from derby.

uipoet avatar uipoet commented on July 19, 2024

No problem. Thanks for the quick turnaround.

from derby.

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.