}
}
- return $content->nodeValue;
+ return $content->c14n();
}
}
}
}
- return $content->nodeValue;
+ return $content->c14n();
}
}
$contentB = $this->elem->getElementsByTagName("description")->item(0);
if ($contentA && !$contentB) {
- return $contentA->nodeValue;
+ return $contentA->c14n();
}
-
if ($contentB && !$contentA) {
- return $contentB->nodeValue;
+ return $contentB->c14n();
}
if ($contentA && $contentB) {
return mb_strlen($contentA->nodeValue) > mb_strlen($contentB->nodeValue) ?
- $contentA->nodeValue : $contentB->nodeValue;
+ $contentA->c14n() : $contentB->c14n();
}
}
$summary = $this->elem->getElementsByTagName("description")->item(0);
if ($summary) {
- return $summary->nodeValue;
+ return $summary->c14n();
}
}