Skip to content

one-line comment #94

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. save the following code to test.php:
  <?php
      echo 'This is a test'; // This is a one-line c++ style comment
      echo 'next line';
  ?>
2. use htmlcompressor to minify this file

What is the expected output? What do you see instead?
Expected: <?php echo 'This is a test';echo 'next line'?>
Instead:  <?php echo 'This is a test'; // This is a one-line c++ style comment 
echo 'next line'; ?>


What version of the product are you using? On what operating system?
1.5.3, On Windows Win7

Please provide any additional information below.


Original issue reported on code.google.com by huhang...@gmail.com on 6 May 2014 at 9:44

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions