htbuilder icon indicating copy to clipboard operation
htbuilder copied to clipboard

Escape content and attribute strings.

Open thvitt opened this issue 2 months ago • 0 comments

The implementation uses Python's built-in escaping to escape characters in text content. For attributes, it will also escape quotes if there is no way to express the attribute without escaping by sensibly choosing the outer quotes.

Fixes #5

thvitt avatar Oct 07 '25 14:10 thvitt