View Single Post
Old 08-11-2010, 07:21 PM   #1
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,188
Karma: 727236
Join Date: Sep 2009
Device: PRS-505
Bizarre ADE bug with brackets

I managed to waste over an hour today on one of the most bizarre bugs I've yet seen in ADE.

If a paragraph is centered (using text-align: center), contains a br tag, and the first character after the break is a left bracket ( (, {, or [ ) or an em-dash, then the text on that line will be shifted right by about 1em. The only way to prevent this is to ensure that the first displayed character on that line is something other than a left bracket/em-dash (inserting a character wrapped in a display:none span won't work).

This happens on both the current 1.72 version of Desktop ADE and on my PRS-505. I've attached an example epub that displays perfectly in other epub-renderers but fails in ADE.

I'll file a bug report about this, but we all know that the chances of Adobe actually fixing this are minuscule, so it's just something people will need to be aware of and work around.
Attached Files
File Type: epub bugtest.epub (2.3 KB, 74 views)
charleski is offline   Reply With Quote