| 1 {"__ATTN__":"Do not edit this file; changes belong in the appropriate YAML file.
","overview":"Comment tags represent content that should never appear in the res
ulting\noutput.\n\nThe tag's content may contain any substring (including newlin
es) EXCEPT the\nclosing delimiter.\n\nComment tags SHOULD be treated as standalo
ne when appropriate.\n","tests":[{"name":"Inline","data":{},"expected":"12345678
90","template":"12345{{! Comment Block! }}67890","desc":"Comment blocks should b
e removed from the template."},{"name":"Multiline","data":{},"expected":"1234567
890\n","template":"12345{{!\n This is a\n multi-line comment...\n}}67890\n","d
esc":"Multiline comments should be permitted."},{"name":"Standalone","data":{},"
expected":"Begin.\nEnd.\n","template":"Begin.\n{{! Comment Block! }}\nEnd.\n","d
esc":"All standalone comment lines should be removed."},{"name":"Indented Standa
lone","data":{},"expected":"Begin.\nEnd.\n","template":"Begin.\n {{! Indented C
omment Block! }}\nEnd.\n","desc":"All standalone comment lines should be removed
."},{"name":"Standalone Line Endings","data":{},"expected":"|\r\n|","template":"
|\r\n{{! Standalone Comment }}\r\n|","desc":"\"\\r\\n\" should be considered a n
ewline for standalone tags."},{"name":"Standalone Without Previous Line","data":
{},"expected":"!","template":" {{! I'm Still Standalone }}\n!","desc":"Standalo
ne tags should not require a newline to precede them."},{"name":"Standalone With
out Newline","data":{},"expected":"!\n","template":"!\n {{! I'm Still Standalon
e }}","desc":"Standalone tags should not require a newline to follow them."},{"n
ame":"Multiline Standalone","data":{},"expected":"Begin.\nEnd.\n","template":"Be
gin.\n{{!\nSomething's going on here...\n}}\nEnd.\n","desc":"All standalone comm
ent lines should be removed."},{"name":"Indented Multiline Standalone","data":{}
,"expected":"Begin.\nEnd.\n","template":"Begin.\n {{!\n Something's going on
here...\n }}\nEnd.\n","desc":"All standalone comment lines should be removed."
},{"name":"Indented Inline","data":{},"expected":" 12 \n","template":" 12 {{!
34 }}\n","desc":"Inline comments should not strip whitespace"},{"name":"Surround
ing Whitespace","data":{},"expected":"12345 67890","template":"12345 {{! Commen
t Block! }} 67890","desc":"Comment removal should preserve surrounding whitespac
e."}]} |