mathieucarbou / license-maven-plugin

Manage license headers in your source files

Home Page:https://oss.carbou.me/license-maven-plugin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

single line header is not detected correctly

Rots opened this issue · comments

Version affected

4.2.rc3

Describe the bug

For HTML files if the license header is a one liner, then remove removes the header until the next comment

How to Reproduce

test.html

<!-- (C) Copyright ABC -->
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Test</title>
  <!-- comment -->
   <base href="/">
</head>
</html>

after license:remove test.html:

   <base href="/">
</head>
</html>
commented

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Yes, still relevant, but no progress has been made