M
M
ML2017-02-14 23:34:51
go
ML, 2017-02-14 23:34:51

encoding output?

ID := 1
template.HTML(
      `<script type="text/javascript">
                                var id = `+string(ID)+`;
      </script>`,
    )

The output in the browser is some kind of red dot in the code:6c2e494f3ea04abdadb805252bc29553.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question