Task: Converting HTML to Plain Text with Python
Task: Converting HTML to Plain Text with Python: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that converts an HTML block into plain text, preserving the general structure (paragraphs, line breaks) while stripping all HTML tags and converting links to just their text content.
The task
Write a Python script that converts an HTML block into plain text, preserving the general structure (paragraphs, line breaks) while stripping all HTML tags and converting links to just their text content.
Part of PrimeIntellect/Terminal-Lego-15k.