1. Georg Brandl
  2. pygments-main
  3. Issues
Issue #815 wontfix

Escaped quotes in R / S-Plus

Anonymous created an issue

Escaped quotes - \" - are being treated like actual quotes.

example: http://pygments.org/demo/56349/

NB: this is similar to this bug -


  • so it might be happening in other places too.

Comments (1)

  1. Tim Hatch

    I can't reproduce the issue with the current development version, looks like it might have been fixed in the meantime.

    Token.Text      u'x'
    Token.Text      u' '
    Token.Operator  u'<-'
    Token.Text      u' '
    Token.Literal.String    u'"'
    Token.Literal.String    u'\\"Hello!\\""'
    Token.Text      u'\n'
  2. Log in to comment