Fix #2917: inline code is hyphenated on HTML

This commit is contained in:
Takeshi KOMIYA
2016-08-29 11:23:05 +09:00
parent 281942ce25
commit 37bb9c2c33
2 changed files with 8 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ Bugs fixed
* #2900: Fix epub content.opf: add auto generated orphan files to spine.
* #2899: Fix ``hasdoc()`` function in Jinja2 template. It can detect ``genindex``, ``search`` collectly.
* #2901: Fix epub result: skip creating links from image tags to original image files.
* #2917: inline code is hyphenated on HTML
Release 1.4.6 (released Aug 20, 2016)
=====================================

View File

@@ -494,6 +494,13 @@ pre {
overflow-y: hidden; /* fixes display issues on Chrome browsers */
}
span.pre {
-moz-hyphens: none;
-ms-hyphens: none;
-webkit-hyphens: none;
hyphens: none;
}
td.linenos pre {
padding: 5px 0px;
border: 0;