skylighting-format-blaze-html 0.1.1 → 0.1.1.1
raw patch · 4 files changed
+11/−6 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README.md +4/−4
- changelog.md +5/−0
- skylighting-format-blaze-html.cabal +1/−1
- src/Skylighting/Format/HTML.hs +1/−1
README.md view
@@ -1,5 +1,5 @@-# skylighting-format-ansi--This package provides functions to render syntax-highlighting-as ANSI text.+# skylighting-format-blaze-html +This package provides functions to render syntax-highlighting as HTML+using the [blaze-html](https://hackage.haskell.org/package/blaze-html)+HTML combinator library for Haskell.
changelog.md view
@@ -1,5 +1,10 @@ # Changelog for skylighting-format-blaze-html +## 0.1.1.1++* Remove `display: inline-block` from the code line spans. This+ caused odd size changes in iOS. Closes #7248.+ ## 0.1.1 * Export `formatHtml4Block`, which should be used instead of
skylighting-format-blaze-html.cabal view
@@ -1,5 +1,5 @@ name: skylighting-format-blaze-html-version: 0.1.1+version: 0.1.1.1 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
@@ -194,7 +194,7 @@ ] divspec = [ "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 { 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; }"