diff --git a/README.md b/README.md index 63f63d6..9ce2c6c 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ First, back up your system! This install process will patch (__Read__: ___Perman Clone the latest release version (i.e. replace **v2.0.4** below with the latest release version) to the hooks folder: ``` -sudo git clone --branch v2.0.4 https://github.com/virtuosoft-dev/hestiacp-pluginable /etc/hestiacp/hooks +sudo git clone https://github.com/sharklatan/hestiacp-pluginable /etc/hestiacp/hooks ``` Run the post_install.sh script: diff --git a/pluginable.php b/pluginable.php index ff6d92d..d06d062 100644 --- a/pluginable.php +++ b/pluginable.php @@ -165,6 +165,8 @@ public function append() { $xpath = $this->do_action( 'hcpp_all_xpath', $xpath ); $dom = $xpath->document; $html = $dom->saveHTML(); + $html = html_entity_decode($html, ENT_QUOTES | ENT_HTML5, "UTF-8"); + $html = str_replace(["=","."], ["=","."], $html); // Run the path specific actions for html if ( $path != 'index.php' ) {