I ran into an issue where a tag <script>
was displayed and contained these HTML comment characters.
Function example
<html>
<head>
<script type="text/javascript">
<!--
function Alert(){
alert("apenas uma função exemplo")
}
//-->
</script>
</head>
<body>
<button onClick="Alert()">Funcão Exemplo</button>
</body>
</html>
If you put this structure in an ASP.NET WebForms application, and simply remove the tag comment from the end of the script , it does not work.
<html>
<head>
<script type="text/javascript">
<!--
function Alert(){
alert("apenas uma função exemplo")
}
</script>
</head>
<body>
<button onClick="Alert()">Funcão Exemplo</button>
</body>
</html>