summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--user_guide_src/source/tutorial/news_section.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/user_guide_src/source/tutorial/news_section.rst b/user_guide_src/source/tutorial/news_section.rst
index ad9ed41d3..4304dc968 100644
--- a/user_guide_src/source/tutorial/news_section.rst
+++ b/user_guide_src/source/tutorial/news_section.rst
@@ -143,9 +143,11 @@ and add the next piece of code.
::
+ <h2><?php echo $title ?></h2>
+
<?php foreach ($news as $news_item): ?>
- <h2><?php echo $news_item['title'] ?></h2>
+ <h3><?php echo $news_item['title'] ?></h3>
<div class="main">
<?php echo $news_item['text'] ?>
</div>