Optional support for parsing elements within a textarea
Back in 2018 there was a change in 1.8.2 that meant a textarea no longer has its child elements parsed, rather the entire contents is treated as text (https://github.com/zzzprojects/html-agility-pack/issues/183).
Although I agree textareas should not have elements, unfortunately I'm dealing with documents (that I'm not the source of) that do have it and one of the reasons for using HAP is to clean up the document and remove/deal with the elements within a textarea.
For various reasons we have, until recently being using a very old fork of HAP so, even though its 7 years later, we are only now seeing this issue.
Can a switch be optionally added to allow elements within a textarea to be parsed?
Hello @BryantL,
I took a quick look but haven’t yet found the change related to it, so I couldn’t check if we can add an option for it.
I’ll try again in a few days.
Best Regards,
Jon