Page 1 of 1

help with error message

PostPosted: Mon Feb 13, 2012 7:48 pm
by roedygr
The "a" element cannot be used here. It is nested in another "a" element and cannot be nested. Has the previous "a" element been ended with an end tag? This element may be contained in "body", "caption", "td", "th", and "svg". This element may not be contained in "a", "button", "svg", and "table".

The above error message can drive you nuts trying to find the unbalance.
It would be nice if:
1. it told you the line number of the enclosing <a
2. there were balancing tools. You point to something and it winks the match.

Re: help with error message

PostPosted: Mon Feb 13, 2012 9:26 pm
by Albert Wiersch
Thanks for the suggestion (#1). I'll see if I can add the line number info in a future update.

As for #2, if you put the cursor on a start tag or end tag and press Ctrl+M, then CSE HTML Validator will try to find the matching tag.

Re: help with error message

PostPosted: Mon Feb 20, 2012 4:13 pm
by Albert Wiersch
Albert Wiersch wrote:Thanks for the suggestion (#1). I'll see if I can add the line number info in a future update.


This has been added for v11.01... to be released very soon now. :D