Lines Matching refs:HTMLCode
755 * @param string $HTMLCode The HTML code to convert
758 …public static function generateODTfromHTMLCode(ODTInternalParams $params, $HTMLCode, array $option… argument
787 $HTMLCode = preg_replace('/^ \n/', '', $HTMLCode);
788 $HTMLCode = preg_replace('/\n $/', '', $HTMLCode);
789 $HTMLCode = str_replace(' ', ' ', $HTMLCode);
827 $max = strlen ($HTMLCode);
830 $found = self::getNextTag($HTMLCode, $pos);
833 $entry ['content'] = substr($HTMLCode, $pos, $found [0]-$pos);
839 $tagged = substr($HTMLCode, $found [0], $found [1]-$found [0]+1);
842 if ($HTMLCode [$found[1]-1] == '/') {
846 if ($HTMLCode [$found[0]+1] != '/') {
864 $entry ['content'] = substr($HTMLCode, $pos);