-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do *not* trim whitespace in <code> elements (#140)
* Preserve indentation for first line of <pre> content * Preserve significant whitespace in <code> elements * Ignore insignificant leading/trailing whitespace in <code> elements * Revert previous 3 commits (to isolate pull requests) * Preserve indentation for first line of <pre> content * Preserve significant whitespace in <code> elements * Ignore insignificant leading/trailing whitespace in <code> elements * Add note describing the "hack" for handling <code> whitespace * Do *not* trim whitespace in <code> elements
- Loading branch information
1 parent
ba33c04
commit 5cebd03
Showing
6 changed files
with
72 additions
and
2 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...odeContainsSpacesAndIsSurroundedByWhitespace_Should_NotRemoveSpaces.verified.md
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
A JavaScript ` function ` ... |
1 change: 1 addition & 0 deletions
1
...wn.Test/ConverterTests.When_CodeContainsSpaces_ShouldPreserveSpaces.verified.md
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
A JavaScript` function `... |
1 change: 1 addition & 0 deletions
1
...ests.When_CodeContainsSpanWithExtraSpaces_Should_NotNormalizeSpaces.verified.md
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
A JavaScript` function `... |
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 |
---|---|---|
|
@@ -3,4 +3,3 @@ | |
``` | ||
function foo { | ||
``` | ||
|
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