softec/cartoclic — Issue #9: Javascript in marker's form fails to parse
Author: olides
Created: 2012-01-19 15:59:23+00:00
State: open
Labels: cartoclic-xwiki

# Summary

When we output a javascript like this:

```html

```

It's retrieved by the client as:

```html

```
So the javascript comments indicator are lost.

# How to reproduce

1. Edit the ViewMarker page of a map and add a javascript block as reported before.
2. Open a marker on the map. The javascript console will complain on a '<' character and if you look at the raw response of the request, you'll see that the '//' are discarded.