🚨 Jsoup - Entities are not recognized properly and `­` is not treated like other entities
Case1
Input: <p>a c</p>
Brower result: a c
  is recognized as html entity
Jsoup parsed content: <p>a&nbspc</p>
Brower result: a c
  is not recognized which shows different result in browser
Case2
Input: <p>a ­c</p>
Brower result: a Âc
  and ­ is recognized as and ­ respective html entity
Jsoup parsed content: <p>a &shyc</p>
Brower result: a ­c
  is recognized (might be due to succeeding & character), but ­ is not recognized as ­. Shows different result in browser
Case3
Input: <p>a­c </p>
Brower result: aÂc
  and ­ is recognized as and ­ respective html entity
Jsoup parsed content: <p>a&shyc </p>
Brower result: a­c
  is recognized (might be due to succeeding & character), but ­ is not recognized as ­. Shows different result in browser
All the cases have unexpected result. Additionally ­ has different results when compared to others.
Parser: Html parser
Escape mode: Same result for both base and extended. nbsp entity is replaced by   in xhtml escape mode but the result is same
I also raised this doubt related to entity: https://github.com/jhy/jsoup/issues/2206
@jhy