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.
