Questions answered by this recipe
- How to copy-past text to a wiki page and not get pre-formatted text by default
- How to remove the preformated text from a wikipage
This section is optional; use it to indicate the types of questions (if any) this recipe is intended to answer.
This recipe disables the default preformatted text behaviour. To have preformatted text you have to use the markup (:pre:) explicit.
You can also disable the preformatted markup by disabling the "^ws" and the "^ " markup from your config.php by using
DisableMarkup('^ws'); DisableMarkup('^ ');
This will also disable the bulleted, numbered and definition list's autoindentation. If you want to maintain the list's autoindentation but remove the preformatted behaviour then use this recipe by adding include_once("
$FarmD/cookbook/nopreformatted.php"); to your config.php file
If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".