It doesn't support this case right now.

If you want to implement that support here I don't mind, as we already have the dependencies on the HTML parsers here, but if you want to submit a pull request to jsonld-java I can review it and merge it there for 0.4.

I don't have a timeline for 0.4 yet, but it will be in the range of weeks rather than days or months at this stage.