PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, June 29, 2022

[FIXED] What is the {# .. #} comment syntax from?

 June 29, 2022     comments, html, syntax     No comments   

Issue

I saw {# ... #} syntax used to comment out things in an HTML template. This is, as far as I know, not a part of "vanilla" HTML. What is this syntax from and in what contexts is it valid?

[Edit] Follow-up question. How would I google for the answer to this? I tried putting the syntax in quotes but that did not work.


Solution

Looks like a comment in Jinja templating engine https://jinja.palletsprojects.com

As seen here: https://jinja.palletsprojects.com/en/3.0.x/templates/#comments



Answered By - Mike Irving
Answer Checked By - Gilberto Lyons (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing