Lines Matching refs:found
150 $found = ODTUtility::getNextTag($HTMLCode, $pos);
151 if ($found !== false) {
153 $entry ['content'] = substr($HTMLCode, $pos, $found [0]-$pos);
159 $tagged = substr($HTMLCode, $found [0], $found [1]-$found [0]+1);
162 if ($HTMLCode [$found[1]-1] == '/') {
166 if ($HTMLCode [$found[0]+1] != '/') {
181 $pos = $found [1]+1;
196 $found = &$parsed [$out];
197 if (isset($found ['content'])) {
198 $checked [$out] = $params->document->replaceXMLEntities($found ['content']);
199 } else if (isset($found ['tag-open'])) {
205 $found ['tag-open'] == $search ['tag-close'] &&
207 … (array_key_exists($found ['tag-open'], $spans) || $found ['tag-open'] == 'span')) {
213 if ($found ['tag-open'] != 'span') {
214 $checked [$out] = $spans [$found ['tag-open']]['open'];
215 $checked [$in] = $spans [$found ['tag-open']]['close'];
217 $style_name = self::createSpanInternal ($params, $found ['attributes']);
228 $checked [$out] = $params->document->replaceXMLEntities($found ['tag-orig']);
230 } else if (isset($found ['tag-close'])) {
233 $checked [$out] = $params->document->replaceXMLEntities($found ['tag-orig']);