Sha256: 32de722b119300a519e5ec449aeb0e20ee996bb4be5790a112d0b403e96ecd09

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

<div class='mp'>

<h1 id="Example-Quote-Error">Example Quote Error</h1>
<h2 id="In-the-text-">In the text:</h2>

<p>This is Renzo's code.</p>

<p>Debian's lintian returns the following warning:
acute-accent-in-manual-page</p>

<p>This manual page uses the ' groff sequence. Usually, the intent to
generate an apostrophe, but that sequence actually renders as a an acute
accent.</p>

<p>For an apostrophe or a single closing quote, use plain '. For single
opening quote, i.e. a straight downward line ' like the one used in
shell commands, use \(aq.</p>

<h2 id="Basic-code-block">Basic code block</h2>

<p>The situation is even worse when there are code blocks, mainly code
chunks or commands. E.g., copy-paste fails.</p>

<p>Type the following command <code>echo 'Hello World'</code>.</p>

<pre><code class="language-bash">$ echo 'hello world'
</code></pre>

<p>The following code cannot be compiled:</p>
<pre><code class="language-C">int main() {
	int example = 42;
	switch (example) {
		case 'a': return 10;
		default: return 42;
	}
}
</code></pre>
</div>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
nronn-0.10.1.pre3 test/code_blocks_regression.html
nronn-0.10.1.pre2 test/code_blocks_regression.html
ronn-ng-0.10.1.pre1 test/code_blocks_regression.html