Task: Check if a String is HTML or Not
Task: Check if a String is HTML or Not: a task in Terminal-Lego-15k (Harbor dataset). You need to write a JavaScript (Node.js) utility that determines whether a given string contains HTML content or is plain text.
The task
You need to write a JavaScript (Node.js) utility that determines whether a given string contains HTML content or is plain text.
Part of PrimeIntellect/Terminal-Lego-15k.