Some Erlang files don't syntax highlight properly

XMLWordPrintable

      -module(foo).
      -define(STATE,State#state).
      Foo=1.
      

      Arguably it's bad Erlang practice but that's a topic of its own.
      To test whether it was smtg wrong with highlight.js I used this html file:

      <!DOCTYPE html>
      <head>
          <link rel="stylesheet" href="http://yandex.st/highlightjs/7.3/styles/default.min.css">
          <script src="http://yandex.st/highlightjs/7.3/highlight.min.js"></script>
          <script>hljs.initHighlightingOnLoad();</script>
      </head>
      <body>
          <pre>
          <code>
      -module(foo).
      -define(STATE,State#state).
      Foo=1.
          </code>
          </pre>
      </body>
      

            Assignee:
            Unassigned
            Reporter:
            Alexandre Beaulne
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: