-
-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-organize markup types text, none, and add type 'pre'.
The new behaviour for the types are as follows: pre: Pre-formatted text, wrapping input inside <pre> tags. text: No formatting except for replacing newlines with <br> tags. none: No formatting at all. In all cases, HTML is escaped. Note that syntax highlighting does not work in these markup types. Closes #416
- Loading branch information
Showing
3 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,7 @@ def clear_markup_cache | |
], | ||
:ruby => [], | ||
:text => [], | ||
:pre => [], | ||
:html => [], | ||
:none => [], | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters