diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst
index afaf9b4c4d8255bb50d61e0992e91c134bf8d727..c3d1fe4689d61608ada1c624397720dbb197aff7 100644
--- a/doc/manual/source/the-model-file.rst
+++ b/doc/manual/source/the-model-file.rst
@@ -4427,8 +4427,8 @@ and ``endval`` blocks which are given a special ``learnt_in`` option.
         By default, every time the information set changes, the simulation with
         the new information set is shorter than the previous one (because the
         terminal date is getting closer). When this option is set, every new
-        simulation has the same length (as specified by the `periods`` option
-        of :comm:`perfect_foresight_with_expectation_errors_setup`; as a
+        simulation has the same length (as specified by the ``periods`` option
+        of :comm:`perfect_foresight_with_expectation_errors_setup`); as a
         consequence, the simulated paths as stored in ``oo_.endo_simul`` will
         be longer when this option is set (if `s` is the last period in which
         the information set is modified, then they will contain `s+periods-1`