View Single Post
Old 11-20-2019, 02:44 PM   #28
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by RbnJrg View Post
In my test with ADE 4.5 I didn't notice anything with

Code:
<p>—<span class="ps">&nbsp;</span>Lorem ipsum dolor sit amet, consectet...</p>

------------

p {
  text-align: justify;
}

.ps {
  white-space: pre;
}
Just confirmed.

In ADE:

Using &nbsp; didn't stretch.

Using 1 or more normal space (as the previous examples), you get the stretchiness.

I attached an EPUB using your code + various amounts of normal spaces.

Quote:
Originally Posted by RbnJrg View Post
The solution is not intended to be applied in a middle of a sentence, just at the beginning.
Hmmm, I'm not familiar enough with languages that use this "quotation dash" convention.

Is it guaranteed they always begin the line? These types of dashes can't occur in the middle of paragraphs?

Because wrapping the &nbsp; in a <span> line-breaks in ADE... which defeats half of the actual functionality!
Attached Files
File Type: epub RbnJrg.Quotation.Dash.Spacing.Test.epub (2.1 KB, 245 views)
Tex2002ans is offline   Reply With Quote