Author Topic: [1.7 RC2] JS code snippet in comment breaks task  (Read 7647 times)

Nuno Zimas

  • Full Member
  • ***
  • Posts: 127
    • View Profile
[1.7 RC2] JS code snippet in comment breaks task
« on: June 29, 2010, 09:17:49 am »
When including a JS code snippet in a comment, the task is no longer manageable.

It happened with a Google Analyitcs code snippet I have posted as comment so that a workmate could proceed with the task.

Code: [Select]
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-XXXXXX-XX']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
OS: GNU/Linux (PCLinuxOS) | Browser: Firefox 3.6.x and Chromium 5.0.x | FengOffice 1.7 RC

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: [1.7 RC2] JS code snippet in comment breaks task
« Reply #1 on: June 29, 2010, 09:50:45 am »
Noted, thanks.