79830862

Date: 2025-11-26 15:09:52
Score: 0.5
Natty:
Report link
const htmlDecode = (input: string): string => {
    const doc = new DOMParser().parseFromString(input, 'text/html')
    return doc.documentElement.textContent || ''
}

Maybe this is more modern way.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nagataaaas