25 lines
431 B
Plaintext
25 lines
431 B
Plaintext
|
-- in --
|
||
|
package main
|
||
|
|
||
|
templ test() {
|
||
|
<!-- This is a comment -->
|
||
|
// This is not included in the output.
|
||
|
<div>Some standard templ</div>
|
||
|
/* This is not included in the output too. */
|
||
|
/*
|
||
|
Leave this alone.
|
||
|
*/
|
||
|
}
|
||
|
-- out --
|
||
|
package main
|
||
|
|
||
|
templ test() {
|
||
|
<!-- This is a comment -->
|
||
|
// This is not included in the output.
|
||
|
<div>Some standard templ</div>
|
||
|
/* This is not included in the output too. */
|
||
|
/*
|
||
|
Leave this alone.
|
||
|
*/
|
||
|
}
|