Fix #739. HTMLCleaner does not preserve the lang attribute on DOM
serialization.