WebReflection / linkedom

A triple-linked lists based DOM implementation.
https://webreflection.medium.com/linkedom-a-jsdom-alternative-53dd8f699311
ISC License
1.66k stars 80 forks source link

Allow optional no character escape on getAttribute #275

Closed stefandokic-tricentis closed 4 months ago

WebReflection commented 4 months ago

https://developer.mozilla.org/en-US/docs/Web/API/element/getAttribute

I am not implementing non standard signatures and you can unescape through the same html-escaper module linkedom uses when you don't want escaped content ... not sure this is a good thing to land, or better, it won't land as deviation from the standard signature.

stefandokic-tricentis commented 4 months ago

https://developer.mozilla.org/en-US/docs/Web/API/element/getAttribute

I am not implementing non standard signatures and you can unescape through the same html-escaper module linkedom uses when you don't want escaped content ... not sure this is a good thing to land, or better, it won't land as deviation from the standard signature.

Thanks for clarifying.