Fixed an example in the Calendar library for Showing Next/Previous Month Links.
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index e96e18e..6273afe 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -79,6 +79,7 @@
     <li>Fixed a bug in _html_entity_decode_callback() when 'global_xss_filtering' is enabled.</li>

 	<li>Fixed a bug in the cookie helper "set_cookie" function.  It was not honoring the config settings.</li>

     <li>Fixed an example of comma-separated emails in the email library documentation.</li>

+    <li>Fixed an example in the Calendar library for Showing Next/Previous Month Links.</li>

     <li>Fixed a typo in the DocBlock comment for unset_userdata() in Session.</li>

 </ul>

 

diff --git a/user_guide/libraries/calendar.html b/user_guide/libraries/calendar.html
index 2880887..4731d50 100644
--- a/user_guide/libraries/calendar.html
+++ b/user_guide/libraries/calendar.html
@@ -171,14 +171,14 @@
 code similar to this example:</p>

 

 

-<code>$this->load->library('calendar');<br />

-<br />

-$prefs = array (<br />

+<code>$prefs = array (<br />

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'show_next_prev'&nbsp;&nbsp;=> TRUE,<br />

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'next_prev_url'&nbsp;&nbsp; => 'http://www.your-site.com/index.php/calendar/show/'<br />

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br />

 <br />

-echo $this->calendar->generate(<var>$this->uri->segment(3)</var>, <var>$this->uri->segment(4)</var>, $prefs);</code>

+$this-&gt;load-&gt;library('calendar', $prefs);<br />

+<br />

+echo $this->calendar->generate(<var>$this->uri->segment(3)</var>, <var>$this->uri->segment(4)</var>);</code>

 

 <p>You'll notice a few things about the above example:</p>