HTML/DOM ↔ BB converter