Skip to main content

Handlebars syntax

Follow

Comments

4 comments

  • David Gollom

    Hey There!  Above in the triple braces description you say "Handlebars triple-braces remove URL encoding from characters that already have URL encoding applied. Triple-braces will also display in the output (unescaped)." I don't think that's true.  Or I don't understand it. I don't see the braces in the output. 

    Thanks!! 

    Comment actions Permalink
  • Tom Santiago

    Hi David Gollom, I did some experimenting and will update the article to be a little more clear about how this works. Double curly-braces would convert special characters to their URL encoded counterparts:

    While triple-braces would preserve the current state of the text as it appears in the record:

    Please let me know if that clears up the confusion.

    Comment actions Permalink
  • David Gollom

    Hi Tom!

    That make sense. I realize my comment may not have been very clear.  

    This is the sentence that I didn't understand -  "Triple-braces will also display in the output (unescaped)."

     

    Comment actions Permalink
  • Tom Santiago

    David Gollom, you're right. I'm removing that statement. 

    Comment actions Permalink

Please sign in to leave a comment.