Open osterman opened 6 years ago
Hi @osterman, thank you for your kind words!
The lack of line numbers, sadly, is not a careless omission. The library (golang's x/net/html
) we are currently using for parsing HTML does not give us a clear path back from a node to its origin.
This issue will remain open, this is a feature that is missing, however it will require a direction and likely a large refactor for it to come about.
Ref #22
Thanks @wjdp ! Makes sense.
I really miss this feature...!
Would this code help? https://stackoverflow.com/a/34960550/1189711
I don't know enough of Go (yet) to handle this myself...
First, this utility is awesome! Thanks for investing all the time to make it so powerful.
It would be helpful if the utility output line numbers within the file.
Thanks!