summaryrefslogtreecommitdiff
path: root/src/Readability.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Readability.php')
-rw-r--r--src/Readability.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Readability.php b/src/Readability.php
index f73a860..90d18d7 100644
--- a/src/Readability.php
+++ b/src/Readability.php
@@ -1409,7 +1409,7 @@ class Readability
*/
public function __toString()
{
- return $this->getContent();
+ return sprintf('<h1>%s</h1>%s', $this->getTitle(), $this->getContent());
}
/**