This is only happening on php pages that have enough other code embedded in them that have to mix single and double quotes, and often include snippets of source code.
However, it is only on a couple out of hundreds of similar pages, so presumably the Warning is exactly accurate, and it is just figuring out how indexer calculates line number.
The pages are unfortunately internal and confidential or could provide sample.
When the indexer specifies a line number as the unmatched quotes being after that, how is that line number calculated?
07:31:06 - [WARNING] Suspected invalid HTML (possible unmatched quote characters) after line 3133 on page: http://*******/fubar.php (content may not be correctly indexed)
Reason I ask is that there aren't any mismatched quotes within several dozen of that line number in the source file [in either "vim" or Dw6] and not seeing OBVIOUS booboos with vim set to check open/end quotes.
The line in question is not near any php includes.
Even dumping the page as a file with curl http://*******/fubar.php > bloopers.txt isn't helping so far.
Is the line number calculated by HTML rules for <br /> tags and other "line ending" html tags, or just higher level tags like </p>, </pre> </td> etc?
Is the header, metadata, etc, included in calculating the line number, or only within the body?
Thanks...
However, it is only on a couple out of hundreds of similar pages, so presumably the Warning is exactly accurate, and it is just figuring out how indexer calculates line number.
The pages are unfortunately internal and confidential or could provide sample.
When the indexer specifies a line number as the unmatched quotes being after that, how is that line number calculated?
07:31:06 - [WARNING] Suspected invalid HTML (possible unmatched quote characters) after line 3133 on page: http://*******/fubar.php (content may not be correctly indexed)
Reason I ask is that there aren't any mismatched quotes within several dozen of that line number in the source file [in either "vim" or Dw6] and not seeing OBVIOUS booboos with vim set to check open/end quotes.
The line in question is not near any php includes.
Even dumping the page as a file with curl http://*******/fubar.php > bloopers.txt isn't helping so far.
Is the line number calculated by HTML rules for <br /> tags and other "line ending" html tags, or just higher level tags like </p>, </pre> </td> etc?
Is the header, metadata, etc, included in calculating the line number, or only within the body?
Thanks...
Comment