We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75b9b1c commit bd180b6Copy full SHA for bd180b6
Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php
@@ -952,8 +952,8 @@ function get_display_size()
952
}
953
954
// camel naming conventions
955
- function getAllAttributes() {return $this->attr;}
956
- function getAttribute($name) {return $this->__get($name);}
+ function getAllAttributes() {return array_map('html_entity_decode', $this->attr);}
+ function getAttribute($name) {return html_entity_decode($this->__get($name));}
957
function setAttribute($name, $value) {$this->__set($name, $value);}
958
function hasAttribute($name) {return $this->__isset($name);}
959
function removeAttribute($name) {$this->__set($name, null);}
0 commit comments