Closed
Description
The name of the entity ("oacute" in this example) is lost:
scala> <input value="Adiós" />
res0: scala.xml.Elem = <input value="Adi&;s"></input>
scala> <input value="Adiós" />.attributes.value(1).asInstanceOf[scala.xml.EntityRef].text
res1: String = &;
Note this is different from behaviour in Element content:
scala> <p>Adiós</p>.child(1).asInstanceOf[scala.xml.EntityRef].text
res2: String = ó