Code Macro doesn't handle apostrophes well in comments - js

XMLWordPrintable

    • Severity 3 - Minor

      When you have an ' in a comment, it upsets the syntax highlighter in javascript

      /**
       * Comment with an apostroph'e in it
       */
      this.log.info('this.log'); // com.miranda.icontrol.gsm.server.plugins.providers.SNMPManagerPlugin  - this.log
      log.info('undeclared'); // com.miranda.icontrol.gsm.server.plugins.providers.SNMPManagerPlugin  - undeclared
      

        1. Capture.PNG
          14 kB
          Mitchell Amihod

            Assignee:
            Unassigned
            Reporter:
            Mitchell Amihod
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: