diff --git a/scripts/website/migrate-news-joomla2dolibarr.php b/scripts/website/migrate-news-joomla2dolibarr.php index e9f6c3c2295..2d4e8befbcc 100755 --- a/scripts/website/migrate-news-joomla2dolibarr.php +++ b/scripts/website/migrate-news-joomla2dolibarr.php @@ -123,12 +123,15 @@ while ($obj = $dbjoomla->fetch_object($resql)) { $htmltext = ""; if ($blogpostheader) $htmltext .= $blogpostheader."\n"; - $htmltext .= '
'."\n"; + $htmltext .= '
'."\n"; $htmltext .= $obj->introtext; + $htmltext .= '
'."\n"; if ($obj->fulltext) { - $htmltext .= '
'."\n".'
'."\n".'
'."\n".$obj->fulltext; + $htmltext .= '
'."\n"; + $htmltext .= '
'."\n".'
'."\n".'
'."\n"; + $htmltext .= $obj->fulltext; + $htmltext .= "
"; } - $htmltext .= "\n
"; if ($blogpostfooter) $htmltext .= "\n".$blogpostfooter; $language = ($obj->language && $obj->language != '*' ? $obj->language : 'en');