You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Hyntax, we can get the detailed information of the attribute (startIndex, etc.), but htmlparser2 simply outputs the key-value
Will htmlparser2 support this feature in the future?
The text was updated successfully, but these errors were encountered:
#929 makes it possible to track attribute indices. You will have to provide a custom handler to actually store this; have a look at https://github.com/fb55/domhandler/blob/master/src/index.ts for the current handler implementation. You can extend the current handler class, with an updated onattribute method that sets indices as expected.
htmlparser2 demo
hyntax parser demo
In Hyntax, we can get the detailed information of the attribute (startIndex, etc.), but htmlparser2 simply outputs the key-value
Will htmlparser2 support this feature in the future?
The text was updated successfully, but these errors were encountered: