Josh, we've been doing a lot of very complicated work on the vertical
linespacing system used in BoltWire. What you are seeing is a bug that
was just introduced in the last release or two of BoltWire.

I think what we want to do though is not tinker with the vspace
function for this. It's finally working about as well as possible (as
far as I can tell) but rather with the code that prefills a text box
when you hit preview. Let me see if I can find it...

Oh. Actually I already fixed it on version. But can't remember what I
did exactly. :) I have one other bug on my system I need to fix and
then I'll put out a new release--probably later today. You can grab it
then.

You are just joining in right at the tail end of a long, tough series
of upgrades. Please be patient while we try and squash a last couple
problems. Then we will freeze the 3.xx series and start looking at
some changes for a 4.xx release. I'm very excited about that, but want
to wait until we have our current code as bugfree as we can get it.

Cheers,
Dan


On Wed, Jun 23, 2010 at 1:22 PM, Josh Grams <[email protected]> wrote:
> On Jun 23, 11:54 am, Josh Grams <[email protected]> wrote:
>> I'm completely new to BoltWire; I just downloaded 3.4.12 to try it.  I
>> unzipped it in a folder that Apache serves, and set the permissions,
>> and most things seem to work fine.
>>
>> But...the preview feature is mangling the text incorrectly.  If I edit
>> a page and hit Preview, the preview shows up correctly, but then the
>> text in the textbox has an extra br tag at the beginning of every line
>> except the first one.  Hitting Preview again adds another br to each
>> line, and so on.  Saving the page without previewing works fine.
>>
>> Suggestions?  I'll go dig through the code if necessary, but I figured
>> *someone* had to have noticed and fixed this...
>
> OK, in case this helps, I dug through the code, and it appears to be
> caused by barn/scripts/engine.php:2333 (BOLTvspace)
>
> if(BOLTvspaceCheck($ll)) $lines[$l] = $ll . '<br />';
>
> I don't pretend to understand what this code is doing (or how it puts
> a br tag at the *beginning* of each line!).  But removing the '. <br /
>>' makes the preview's textbox work correctly.  I haven't looked to
> try and see what all it might break...
>
> --Josh

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en.

Reply via email to