+8

Toggle comment not working on html script tag

Les Stroud 12 лет назад обновлен Alex Ilyaev 11 лет назад 4
If there is javascript embedded in a script tag in html, then the following happens:
  • If I highlight any part or all of the javascript and toggle comment, it functions as expected
  • If I highlight any part of the html (not including javascript) and toggle comment, it functions as expected
  • If I highlight a mix of html and javascript and toggle the comment, it works as expected in all except the following case...
  • If I highlight just the script tag (opening and closing) including the contained javascript, the toggle comment command uses // for all the javascript and for the html tags (script).  It should use html comment syntax for the script tags and js syntax for the javascript part.

Сервис поддержки клиентов работает на платформе UserEcho