View Single Post
Old 11-01-2015, 11:36 AM   #119
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,674
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by jugaor View Post
BTW, the Google Gumbo-Parser is fine (although I don't want changes to the code --as I understand it is equivalent to the previous HTML Tidy)
No. Google Gumbo-Parser is not the equivalent of HTML Tidy. In fact, Google Gumbo-Parser is the option you want to select if you want Sigil to make the very least changes to your code possible. Pretty-Print is the more intrusive option.

Quote:
Originally Posted by jugaor View Post
2. It's possible maintain two versions of Sigil, with independent Preferences folders? I prefer to keep active the 0.87 Pretty Print Tidy option for the daily work, but launching 0.89 it becomes the now erroneous PPGumbo.
I'm afraid this isn't very likely to happen. If you wish to run two different versions of Sigil on the same machine, I would recommend using something like Portable Apps' version of Sigil for the older version.

Quote:
Originally Posted by jugaor View Post
1. I think I've found a serious problem with Pretty Print Gumbo (0.8.901, Win7-x64): it joins contiguous labels, creating false "long" words.
Ex:
Code:
<p><u>Prueba</u> <i>de</i> <b>texto</b> <span class="nosep">junto</span></p>
becames
Code:
<p><u>Prueba</u><i>de</i><b>texto</b><span class="nosep">junto</span></p>
It reads: Pruebadetextojunto.
(Besides the use of deprecated < u > tags )
I can confirm what you're experiencing here. The problem is really exacerbated when the only "text" outside of inline tags (inside a block-level tag) is whitespace. Recommendation for now is to exclusively use the Pretty Print Gumbo clean source setting. At least until we move Pretty Print to a plugin (or at least a feature separate from the clean source settings) where it belongs.

Last edited by DiapDealer; 11-01-2015 at 11:51 AM.
DiapDealer is offline