Editor: Auto-Completion of HTML is screwing up the HTML

Bug #1417700 reported by MsBarrows on 2015-02-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Calibre Version: 2.18 [64Bit]
OS: Windows 8

There seems to have been some sort of auto-completion of HTML feature added recently to the Calibre e-book editor that is repeatedly screwing up my HTML when I am editing books. I have two issues with it, the first being that I've been unable to find any way of disabling it, and the second being an error it repeatedly produces.

What it appears to be meant to do is to automatically close whatever tag is currently open as soon as </ is typed, so that, for example, if I had typed <p>This Is a test</ is would automatically complete that to <p>This is a test</p>.

While some people might regard this as a useful and desirable feature, I'm having to break 20+ years of manual HTML coding conditioning to try and NOT automatically finish the tags, which invalidates whatever speed increase this is otherwise supposed to be giving me. Since this isn't the only program I do manual HTML coding in, conditioning myself to not complete HTML tags isn't really a valid option. My kingdom for a way of turning this feature off.

In addition, it also has an error. When I am fixing broken html such as <em>no<em> I end up with <em>no</em>em> since it ignores the fact that the remainder of the closing tag is already present. I have to keep remembering that it further breaks tags when I'm fixing them, and take the time to remove the extra characters. If you guess I don't always catch it until doing another proofreading pass on the document, you'd be right :)

Thanks for whatever can be done to fix either or both of these!

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers