skylighting-format-blaze-html 0.1.1.2 → 0.1.1.3
raw patch · 3 files changed
+10/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
changelog.md view
@@ -1,5 +1,10 @@ # Changelog for skylighting-format-blaze-html +## 0.1.1.3++ * Use `-webkit-text-size-adjust` instead of unsetting+ inline-block (#202, Jacke Zimmerman).+ ## 0.1.1.2 * Re-add `display: inline-block` to code line spans, but only
skylighting-format-blaze-html.cabal view
@@ -1,5 +1,5 @@ name: skylighting-format-blaze-html-version: 0.1.1.2+version: 0.1.1.3 synopsis: HTML formatter for skylighting syntax highlighting library description: This module allows tokens produced by skylighting-core to be rendered as HTML.
src/Skylighting/Format/HTML.hs view
@@ -193,8 +193,9 @@ " padding-left: 4px; }" ] divspec = [- "pre > code.sourceCode { white-space: pre; position: relative; }" -- position relative needed for relative contents- , "pre > code.sourceCode > span { line-height: 1.25; }"+ "html { -webkit-text-size-adjust: 100%; }" -- Work around iOS bug, see https://github.com/jgm/pandoc/issues/7248+ , "pre > code.sourceCode { white-space: pre; position: relative; }" -- position relative needed for relative contents+ , "pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }" , "pre > code.sourceCode > span:empty { height: 1.2em; }" -- correct empty line height , ".sourceCode { overflow: visible; }" -- needed for line numbers , "code.sourceCode > span { color: inherit; text-decoration: inherit; }"@@ -205,7 +206,7 @@ , "}" , "@media print {" , "pre > code.sourceCode { white-space: pre-wrap; }"- , "pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }"+ , "pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }" , "}" ] linkspec = [ "@media screen {"