Public bug reported:

Hello
I can't parse any html page anymore because hxselect crash when ecountering a 
tag that was not closed.
For example
<img src=".......>
<a>....</a>
crash because img was not closed correctly, even after the command xhnormalize.

Example

curl http://coincapital.live | hxnormalize | hxselect '#BTC_DTCO'

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 37821  100 37821    0     0  22182      0  0:00:01  0:00:01 --:--:-- 22182

End tag </a> doesn't match start tag <img>
<------------------------------------------------

Thank you

** Affects: html-xml-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878637

Title:
  hxselect crash over not-closed tag

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/html-xml-utils/+bug/1878637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to