diff --git a/core/core.api.php b/core/core.api.php
index b394f2e75c519a069a562aa62e57f449cbc0d760..4fc3ea2983b9c3be189ce52eb2357acb8be709bc 100644
--- a/core/core.api.php
+++ b/core/core.api.php
@@ -2259,12 +2259,12 @@ function hook_rebuild() {
  *   they will be processed. Each callable item defined in $sync_steps should
  *   either be a global function or a public static method. The callable should
  *   accept a $context array by reference. For example:
- *   <code>
+ *   @code
  *     function _additional_configuration_step(&$context) {
  *       // Do stuff.
  *       // If finished set $context['finished'] = 1.
  *     }
- *   </code>
+ *   @endcode
  *   For more information on creating batches, see the
  *   @link batch Batch operations @endlink documentation.
  *