Commit a31f4906ac3b59bb1519574f538d4748d9f9a77d

Golmote 2017-12-05T21:25:21

Revert "Line Highlight: Inherit white-space from pre" This reverts commit d6881da This is actually a bad idea since Line highlight does not fully support soft wrap on its own at the moment. It relies on Line numbers to work properly.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/plugins/line-highlight/prism-line-highlight.css b/plugins/line-highlight/prism-line-highlight.css
index 53ae362..6058db4 100644
--- a/plugins/line-highlight/prism-line-highlight.css
+++ b/plugins/line-highlight/prism-line-highlight.css
@@ -2,9 +2,6 @@ pre[data-line] {
 	position: relative;
 	padding: 1em 0 1em 3em;
 }
-pre[data-line] > code {
-	white-space: inherit;
-}
 
 .line-highlight {
 	position: absolute;