Fixes:

Fix range detection;
Detect and special handle of footer links;
Do not mark long lines if nothing can be done