Closed philipp-classen closed 4 months ago
Minimal reproducible example with linkedom 0.16.10:
import { parseHTML } from 'linkedom/cached'; const html = '<!DOCTYPE html><html><head><title>Test</title></head><body></body></html>'; const { document } = parseHTML(html); console.log('Title:', document.title); // Title: Test console.log('Title:', document.title); // Title: <-- missing (title removed as a side-effect)
Thanks! It's up and running. If you had an issue please be sure that gets closed too 👋
Minimal reproducible example with linkedom 0.16.10: