Search

Syntax Highlighter Bug by OverVolts

Active

1
0
Sign in
to vote
Type: Bug
ID: 748048
Opened: 6/10/2012 8:05:37 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
I have noticed a bug with Expression Web that causes the syntax highlighter to become broken. I was opening the includes/functions.php file out of the phpbb3 forums open source software when I first noticed this. Whats its doing is causing the rest of the file syntax highlighting to look for html and not recognized any further php code. Here is why, it happens when a php closing tag ( ?> ) is done within a php string. For example this will bug the rest of the syntax highlighting to look for html only.
Details (expand)

Product?

Web

Product Version?

 

Web 4 SP2 (4.0.1303.0)

Issue Type?

Bug

Repro Steps? (N/A for Suggestion)

<?php

$variable = '

abc?> // syntax highlighter confuses this with a php close tag and looks for html for the rest of the file breaking the syntax colors!

123

'; //end of php string variable

?>

File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 1/30/2013 at 4:23 PM
We recently announced that we are discontinuing development of Expression Web. You can read the full announcement on our community page at http://msdn.microsoft.com/expression. Because this product is no longer in development, we are closing all outstanding bugs.

Sign in to post a workaround.