-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve whitespace as it was first specified.
Prevents Textile from collapsing white-space inside code blocks and removes added extra hard-coded newlines that only work because they are inside inline HTML elements, e.g. code. White-space is trimmed from the end of the text, because otherwise the last extended block will include the last stranded empty line. This then removes the need for the trim + hard-coded LF, and allows us to actually join the blocks with the original separating whitespace. This fixes the formatting inside bc, notextile, bq and pre tags, and/or any other extended blocks. Closes #111, fixes #109
- Loading branch information
Jukka Svahn
committed
Oct 25, 2013
1 parent
3d36dad
commit 00e2cbe
Showing
2 changed files
with
56 additions
and
20 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