https://www.redmine.org/
https://www.redmine.org/favicon.ico?1679302129
2012-07-10T10:05:36Z
Redmine
Redmine - Defect #11359: Wiki diff doesn't keep spaces
https://www.redmine.org/issues/11359?journal_id=39557
2012-07-10T10:05:36Z
Kouhei Sutou
<ul><li><strong>File</strong> <a href="/attachments/7919">0001-Don-t-ignore-spaces-in-diff-11359.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/7919/0001-Don-t-ignore-spaces-in-diff-11359.patch">0001-Don-t-ignore-spaces-in-diff-11359.patch</a> added</li></ul><p>Here is a patch that removes <code>simple_format_without_paragraph</code> and surrounds <code>@diff.to_html</code> with <code><pre class="text-diff"></code> instead of <code><div class="text-diff"></code>.</p>
Redmine - Defect #11359: Wiki diff doesn't keep spaces
https://www.redmine.org/issues/11359?journal_id=81175
2017-09-17T06:04:20Z
Go MAEDA
<ul><li><strong>File</strong> <a href="/attachments/19190">11359-before@2x.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/19190/11359-before@2x.png">11359-before@2x.png</a> added</li><li><strong>File</strong> <a href="/attachments/19191">11359-after@2x.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/19191/11359-after@2x.png">11359-after@2x.png</a> added</li><li><strong>Target version</strong> set to <i>4.1.0</i></li></ul><p><strong>Before:</strong><br /><img src="https://www.redmine.org/attachments/download/19190/11359-before@2x.png" srcset="https://www.redmine.org/attachments/download/19190/11359-before@2x.png 2x" style="width: 355px;border: 1px solid #ccc;" alt="" /></p>
<p><strong>After:</strong><br /><img src="https://www.redmine.org/attachments/download/19191/11359-after@2x.png" srcset="https://www.redmine.org/attachments/download/19191/11359-after@2x.png 2x" style="width: 355px;border: 1px solid #ccc;" alt="" /></p>
Redmine - Defect #11359: Wiki diff doesn't keep spaces
https://www.redmine.org/issues/11359?journal_id=87482
2018-09-22T07:42:31Z
Go MAEDA
<ul><li><strong>File</strong> <a href="/attachments/21466">without-pre-wrap@2x.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/21466/without-pre-wrap@2x.png">without-pre-wrap@2x.png</a> added</li><li><strong>File</strong> <a href="/attachments/21467">with-pre-wrap@2x.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/21467/with-pre-wrap@2x.png">with-pre-wrap@2x.png</a> added</li></ul><p>I think it would be better to add <code>white-space: pre-wrap;</code> to <code>text-diff</code> class.</p>
<pre><code class="diff syntaxhl"><span class="gh">diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index c680fac92..e5224dca5 100644
</span><span class="gd">--- a/public/stylesheets/application.css
</span><span class="gi">+++ b/public/stylesheets/application.css
</span><span class="p">@@ -1073,6 +1073,7 @@</span> button.tab-left.disabled, button.tab-right.disabled {
background-color:#f6f6f6;
color:#505050;
border: 1px solid #e4e4e4;
<span class="gi">+ white-space: pre-wrap;
</span> }
/***** Wiki *****/
</code></pre>
<p>Please see the following screenshots. Without <code>white-space: pre-wrap;</code>, you cannot see the whole content of long lines.</p>
<p><strong>Without <code>pre-wrap</code>:</strong><br /><img src="https://www.redmine.org/attachments/download/21466/without-pre-wrap@2x.png" srcset="https://www.redmine.org/attachments/download/21466/without-pre-wrap@2x.png 2x" style="width: 900px;border: 1px solid #ccc;" alt="" /></p>
<p><strong>With <code>pre-wrap</code>:</strong><br /><img src="https://www.redmine.org/attachments/download/21467/with-pre-wrap@2x.png" srcset="https://www.redmine.org/attachments/download/21467/with-pre-wrap@2x.png 2x" style="width: 900px;border: 1px solid #ccc;" alt="" /></p>
Redmine - Defect #11359: Wiki diff doesn't keep spaces
https://www.redmine.org/issues/11359?journal_id=89018
2018-12-16T06:40:24Z
Jean-Philippe Lang
jp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed, thanks.</p>