Handlebars syntax

Comments

4 comments

  • David Gollom Strategic Partner
    Top Contributor
    Celigo University Level 4: Legendary
    Answer Pro
    Great Answer
    Engaged

    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!! 

    0
  • Tom Santiago Principal Technical Writer Community moderator
    Engaged
    Top Contributor
    Celigo University Level 4: Legendary

    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.

    0
  • David Gollom Strategic Partner
    Top Contributor
    Celigo University Level 4: Legendary
    Answer Pro
    Great Answer
    Engaged

    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)."

     

    0
  • Tom Santiago Principal Technical Writer Community moderator
    Engaged
    Top Contributor
    Celigo University Level 4: Legendary

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

    0

Please sign in to leave a comment.