changed some variable names to improve readability:  $i, $ii, $iii => $str_start, $cdata_start, $cdata_end,  $hp->files => $hp->references
changed some variable names to improve readability:
 $i, $ii, $iii => $str_start, $cdata_start, $cdata_end,
 $hp->files => $hp->references

dilawar/moodle