<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 9, 2017 at 12:11 PM, Tobias Pape <span dir="ltr"><<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
On 09.02.2017, at 21:06, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
<br>
><br>
> OK, accepted, but if one is considering simply a text with indentation, say<br>
><br>
> This is a non-indented line.<br>
>     This is an indented line.<br>
> This is another unindented line.<br>
><br>
> We need to generate<br>
><br>
>  This is a non-indented line.<br><br>
> <pre>    This is an indented line.<br>
> </pre><br>
> This is another unindented line.<br><br>
><br>
> Right?  Right now there is no way to achieve this.  Adding a <code></code> tag pair around the indented line is wrong.  Having to mark it as a doit is wrong.  But the only way to preserve the indentation is to use <pre>.  That's what my changes (save arguably adding the closing </pre> in the wrong place) achieved.  No need to mark things as dots.  One simply indents, and whitespace is preserved.  Simple.<br>
<br>
</span>No, that circumvents text attributes.<br>
<br>
I understand you want the second line indented the way you proposed, but that's not the complete truth for any text.<br>
Because Pararaph indents, because non-code intents, because reflow (<pre> does _not_ reflow).<br>
<br>
So the following would come out as <pre>, but that's completely unacceptable:<br>
<br>
Voluptatem est adipisci explicabo sequi numquam sunt et quo. Possimus sunt illum culpa. Excepturi dolorum asperiores tenetur. Asperiores culpa quia dolorem eum esse et. Qui suscipit consequatur modi et. Nisi quod id hic odio.<br>
        Reprehenderit ratione aut enim. Sed mollitia vero sed fugit iure. Quibusdam nostrum expedita dolor rerum repellat suscipit aliquam. Alias quo et nostrum est.<br>
Qui minima hic ullam. Et iure sint sint et. Ut velit debitis qui sunt corrupti id odit asperiores.<br></blockquote><div><br></div><div>But the current scheme loses the pargraph indent anyway.   So my way is no worse.  The current scheme throws away all indentation.  The current UI doesn't provide a way of setting paragraph indent.  So we're in a situation where if one wants to indent we can only do so by applying a <code></code> tag pair (and applying an invisible emphasis to a text).  I think this is poor.  My simple approach doesn't lose indenting, does mean that one can't use an initial paragraph indent, but does allow one, easily, and visibly, to generate correctly indented HTML.  I know what I want to chose right now.  You're forcing me to wait a long time for the right solution.  I want to generate well-formatted blog posts now.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Actually, there's a TextIndent attribute, we should make use of it (add working key code, add working html generation).<br>
<br>
Best regards<br>
<span class="HOEnZb"><font color="#888888">        -Tobias<br>
<br>
<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>