- $output[] = ' <div class="help-block">' . str_replace('"e;', '"', $definition['description']) . '</div>';
- $output[] = ' <pre class=" language-yaml"><code>' . Yaml::encode([$definition['id'] => $definition['defaultValue']]) . '</code></pre>';
+ $output[] = ' <div class="help-block">';
+ $output[] = str_replace('"e;', '"', wordwrap($definition['description']));
+ $output[] = ' </div>';
+ $output[] = ' <pre class=" language-yaml"><code>';
+ $output[] = wordwrap(Yaml::encode([$definition['id'] => $definition['defaultValue']]));
+ $output[] = '</code></pre>';