diff --git a/formats/HtmlFormat.php b/formats/HtmlFormat.php index 78599164..4bc48abd 100644 --- a/formats/HtmlFormat.php +++ b/formats/HtmlFormat.php @@ -19,13 +19,15 @@ class HtmlFormat extends FormatAbstract{ $entryUri = is_null($data->uri) ? $uri : $data->uri; $entryTitle = is_null($data->title) ? '' : $this->sanitizeHtml(strip_tags($data->title)); $entryTimestamp = is_null($data->timestamp) ? '' : ''; + $entryAuthor = is_null($data->author) ? '' : '
by: ' . $data->author . ''; $entryContent = is_null($data->content) ? '' : '

' . $this->sanitizeHtml($data->content). '

'; $entries .= <<

{$entryTitle}

{$entryTimestamp} - {$entryContent} + {$entryAuthor} + {$entryContent} EOD;