Update extend.php

Html special characters issue fixed
Merge pull request #361 from clembazard/master

HTML special characters issue fixed