<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - -Wdocumentation gives warnings on HTML tags split across multiple lines, when Doxygen does not"
   href="https://bugs.llvm.org/show_bug.cgi?id=27947">27947</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>-Wdocumentation gives warnings on HTML tags split across multiple lines, when Doxygen does not
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.8
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>CONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>koraq@xs4all.nl
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>abigail.buccaneer@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>koraq@xs4all.nl, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>CONFIRMED
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>koraq@xs4all.nl
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>koraq@xs4all.nl
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The following code is parsed fine by Doxygen and correctly rendered as a
hyperlink without any warnings - but -Wdocumentation gives a warning.

$ cat test.c
/**
 * <a
 * href="<a href="http://example.com/">http://example.com/</a>">test</a>
 */
int main(void) {
    return 0;
}
$ clang -Werror=documentation test.c
test.c:3:2: error: HTML start tag prematurely ended, expected attribute name or
'>' [-Werror,-Wdocumentation]
 * href="<a href="http://example.com/">http://example.com/</a>">test</a>
 ^
test.c:2:5: note: HTML tag started here
 * <a
    ^
1 error generated.
$ clang --version
clang version 3.8.0-2ubuntu3 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>