My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1462: PHP syntax highlighting fails on heredoc
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Project Member Reported by choro...@wikimedia.org, Jul 5, 2012
Affected Version: 2.3

What steps will reproduce the problem?
1. Open a diff of a PHP file that includes heredoc syntax (<<<TEXT ... TEXT;)

What is the expected output? What do you see instead?
You'd expect that the syntax highlighting begins again after the heredoc ends, but it treats the remainder of the document as within the heredoc.

Please provide any additional information below.

Here's an example URL that shows the problem (line ~55): https://gerrit.wikimedia.org/r/#/c/13935/1/amazon_gateway/amazon_gateway.body.php

Probably an upstream with google-code-prettify, but wasn't 100% sure so I thought I'd at least file it here.
Jul 24, 2012
Project Member #1 choro...@wikimedia.org
Actually, this seems to already be filed upstream as well: https://code.google.com/p/google-code-prettify/issues/detail?id=41
Sign in to add a comment

Powered by Google Project Hosting