Reindent. re #55
このコミットが含まれているのは:
コミット
16c85418c0
1個のファイルの変更、8行の追加、7行の削除
1
base.php
1
base.php
|
@ -68,6 +68,7 @@ function are_libxml_errors_ok ()
|
||||||
function html2xhtml ($html) {
|
function html2xhtml ($html) {
|
||||||
$doc = new DOMDocument();
|
$doc = new DOMDocument();
|
||||||
libxml_use_internal_errors(true);
|
libxml_use_internal_errors(true);
|
||||||
|
|
||||||
$doc->loadHTML('<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body>' .
|
$doc->loadHTML('<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body>' .
|
||||||
$html . '</body></html>'); // Load the HTML
|
$html . '</body></html>'); // Load the HTML
|
||||||
$output = $doc->saveXML($doc->documentElement); // Transform to an Ansi xml stream
|
$output = $doc->saveXML($doc->documentElement); // Transform to an Ansi xml stream
|
||||||
|
|
読み込み中…
Add table
Add a link
新しいイシューから参照