![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2015
Device: Kindle DX
|
[0.9.2] Code prettification issues
Hi guys,
I'm having an issue with the prettify functionality since installing 0.9.2: The "Format code on Save" option is broken. I can safe all day without results. Always have to do it manually (Tools > Format...). A separate issue if you will (though probably no bug per se), is how <br/> tags are formatted. I've been using an ancient release (don't remember the exact version, several years out of date) until fairly recently, when I upgraded to 0.9.1 and now to 0.9.2. Previously, it would display a paragraph with <br /> Tags inside on multiple lines (by breaking line behind the <br /> Tag). With 0.9.1 it added an additional lines, making it hard to distinguish from regular paragraphs. With 0.9.2 no linebreaks are added, making it harder to read. If possible I'd appreciate having it back to the original behavior (or to have an option for it if this change was intentional). Example results after prettifying in codeview: Ancient Version (and how I prefer it): <p>This<br /> is<br /> an<br /> Example</p> Version 0.9.1 <p>This<br /> is<br /> an<br /> Example</p> Version 0.9.2 <p>This<br />is<br />an<br />Example</p> Cheers, Bosparan |
![]() |
![]() |
![]() |
#2 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,359
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Quote:
Last edited by DiapDealer; 12-29-2015 at 09:19 AM. |
||
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2015
Device: Kindle DX
|
Hi DiapDealer,
thanks for the near instant answer! Regarding the format on save: Too bad that's gone for good. Ah well, even old habits will have to change sometimes. Thanks for the advice about the keyboard shortcuts - didn't find it there when I first looked, revisited the menu after your post and found it now. Memorizing another keybind isn't too much of a trouble, so that issue is well settled. As for the styling of <br /> Tags in paragraphs ... well, that's more inconvenient, since much of the <br /> use I encounter is in paragraphs. If that's the way it will be ... well little choice but to live with it (I'm sure you had good reasons for the change on how paragraphs are treated). Cheers and thanks for all the effort spent on this awesome tool, Bosparan Ps.: For reference: I'm using Sigil almost exclusively to edit existing ebooks, creating a uniform formatting design in the books I read. This means I'm mostly doing bulk edits on formattings of all kind. Don't know whether that's a typical use-case for the program, but it's the point of view I'm experiencing it from. |
![]() |
![]() |
![]() |
#4 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
You might be happier with 0.8.6, which you can get at https://github.com/Sigil-Ebook/Sigil/releases/tag/0.8.6
I'm using 0.8.7, but it's said to have some bugs. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
After I Edit Code, Save, and Convert, all my Code Edits are Gone | lukewrussell | Calibre | 1 | 03-14-2014 08:05 PM |
Converting HTML to EPUB - <pre> and <code> issues | csokol | Conversion | 1 | 10-28-2012 10:16 AM |
drm code 79 issues | socman123 | enTourage Archive | 12 | 05-12-2011 09:40 AM |
Charging Issues and Screen Issues | srj321 | Sony Reader | 2 | 07-11-2010 11:52 PM |
Let's create a source code repository for DR 800 related code? | jraf | iRex | 3 | 03-11-2010 12:26 PM |