There was an error while loading. Please reload this page.
Putting an unclosed character ref (&#) in XML causes an infinite loop. Example code:
&#
import scala.io.Source import scala.xml.parsing.XhtmlParser val text = "<html><body>test &# test </body></html>" XhtmlParser(Source.fromString(text))