Skip to content

Commit a682e72

Browse files
committed
Add code { hyphens: manual; } to HTML and EPUB CSS.
Closes #8530.
1 parent 0d891af commit a682e72

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

data/epub.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ code {
9999
font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
100100
font-size: 85%;
101101
margin: 0;
102+
hyphens: manual;
102103
}
103104
pre {
104105
margin: 1em 0;

data/templates/styles.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
$endif$
107107
font-size: 85%;
108108
margin: 0;
109+
hyphens: manual;
109110
}
110111
pre {
111112
margin: 1em 0;

test/lhs-test.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
8888
font-size: 85%;
8989
margin: 0;
90+
hyphens: manual;
9091
}
9192
pre {
9293
margin: 1em 0;

test/lhs-test.html+lhs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
8888
font-size: 85%;
8989
margin: 0;
90+
hyphens: manual;
9091
}
9192
pre {
9293
margin: 1em 0;

test/writer.html4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
9191
font-size: 85%;
9292
margin: 0;
93+
hyphens: manual;
9394
}
9495
pre {
9596
margin: 1em 0;

test/writer.html5

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
9191
font-size: 85%;
9292
margin: 0;
93+
hyphens: manual;
9394
}
9495
pre {
9596
margin: 1em 0;

0 commit comments

Comments
 (0)