-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chapter 33 epub format: code missing throughout on Apple devices #272
Comments
Confirmed. In fact, all code examples in epub are lacking their text. |
i did not see that. was fine up until this chapter and only seems to affect this chapter. this is on iphone books app if that helps |
We've duplicated this problem on some other readers. The text is there, just transparent. The epub.css file is the same, so we're not sure what's going on. So readers have visibility into what's going on: Generated Markup from the Introduction: <div class="sourceCode" id="cb1"><pre class="sourceCode python"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1"></a><span class="kw">class</span> Cheese:</span>
<span id="cb1-2"><a href="#cb1-2"></a> <span class="kw">def</span> <span class="fu">__init__</span>(<span class="va">self</span>, aged<span class="op">=</span><span class="va">False</span>):</span>
<span id="cb1-3"><a href="#cb1-3"></a> <span class="va">self</span>.aged <span class="op">=</span> aged</span></code></pre></div> CSS: .sourceCode {
font-size: 80%;
font-family: 'Latin Modern Mono Light Cond';
} |
ya know, i just switched to "scrolling view" and it appeared! maybe an issue with page flip and page wrapping? |
Awesome! The problem is that some of my epub readers aren't showing the code examples. |
build: 5-9-2020 (and earlier)
chapter: 33
format: epub
The text was updated successfully, but these errors were encountered: