View Single Post
Old 07-21-2014, 08:51 PM   #49
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,705
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Ok. So just to verify what behavior I'm looking for ... you're looking to preserve a user-defined list of named entities, right? In order to keep them from being changed to their character equivalents when editing in Book View (which seems to be the default behavior in 0.7.4+) and switching back to Code View. Have I got the gist of it?

If so, as proof of concept, it seems to be working. But it seems to me that it's more or less enforcing that user-defined list of named entities on a document-wide basis. What I mean is: if I have an html page that utilizes typographic single-quote characters (not entities) in abundance and I add ’ to the Preserve Entities list in the preferences ... the next time I make an edit in Book View and come back to Code View, every single closing single quote character will have been converted to the ’ entity.

If that's the way it's intended, that's fine. I was just hoping to be able to pick and choose a bit. To maybe use the character for a closing quote and the entity for an apostrophe.

Also, if I have any ’ entities in a document, they will all be converted to the named entity if I add ’ to the list and make a Book View edit.

I'm just giving you the behavior I'm seeing, so that you can determine if it's working the way you expected it to.

I guess I was hoping for more of a "leave all existing entities (in Code View) that are in the Preserve Entities list alone when making changes in Book view" approach. Rather than "change everything to the entity in the preferences when making changes in Book View."

But maybe I'm getting a head of myself.

Last edited by DiapDealer; 07-21-2014 at 09:45 PM.
DiapDealer is offline   Reply With Quote