I was also getting some extra space, but I got rid of it by deleting some empty lines here and there.
However, I notice I got no answer on my ampersand problem: Links put directly in my pages are broken. I find this to be... less than ideal. (links from templates and $$slogan are not broken) On Oct 9, 10:59 pm, Kevin <[email protected]> wrote: > Sent you login for the wiki site credentials. If you need unix level access > I would have to set that up. > > On Fri, Oct 9, 2009 at 1:53 PM, The Editor <[email protected]> wrote: > > > I guess I need to see more of your code or something. It definitely > > fixes things for me.... Do you have a url? Skin? Zone? Esp I need to > > see if there are any ending line breaks in the source code. > > > Cheers, > > Dan > > > On Fri, Oct 9, 2009 at 4:45 PM, Kevin <[email protected]> wrote: > > > Just tried this. > > > > Added line before end of function. > > > > Commented out the two lines above.. > > > > And commented out the change I did for /n/n. > > > > end of function looks like: > > > > //$check = substr($out, 3, -5); > > > //if ("<p>$check</p>\n" == $out && strpos($check, "\n") === false) > > $out > > > = $check; > > > if (substr($out, -16) == "<br /> \n<br /> \n") $out = substr($out, 0, > > -16); > > > return BOLTstripslashes(BOLTurl2utf($out)); > > > } > > > > After the change, the spacing issue was still there. > > > > Putting back the removal of the \n\n line... makes it go back to working > > as > > > I would expect it. > > > > On Fri, Oct 9, 2009 at 1:36 PM, The Editor <[email protected]> wrote: > > > >> I'm still tinkering, but if you care to help, I think this line just > > >> before the end of BOLTdomarkups will eat up the extra lines when a > > >> zone already ends in lines, to give us more backward compatible > > >> behavior... Engine.php, ~761 > > > >> if (substr($out, -16) == "<br /> \n<br /> \n") $out = > > substr($out, > > >> 0, -16); > > >> return BOLTstripslashes(BOLTurl2utf($out)); > > > >> Not sure, but I think the two lines above this might as well be > > >> commented out as well > > > >> // $check = substr($out, 3, -5); > > >> // if ("<p>$check</p>\n" == $out && strpos($check, "\n") === false) > > >> $out = $check; > > > >> Seems the previous change makes these lines obsolete. I'll keep them > > >> in but commented out for awhile until we are pretty sure they can be > > >> dispensed with. > > > >> Cheers, > > >> Dan > > > >> On Fri, Oct 9, 2009 at 4:15 PM, Markus <[email protected]> > > >> wrote: > > > >> > I also got new spacing where there was no spacing before. Can't tell > > >> > you when exactly this happens right now. > > > >> > Regards, Markus > > > >> > On Oct 9, 9:38 pm, Kevin <[email protected]> wrote: > > >> >> More spacing issues. > > > >> >> Wasn't using this in the code before updating. When I started to, it > > >> >> has a > > >> >> big gap between the content and the bottom of the zone even though I > > >> >> didn't > > >> >> code it that way. > > > >> >> zone.top only has: > > > >> >> ! [[main|$$sitename]] > > >> >> <span style="color:white">$$slogan2</span> > > >> >> !! $$slogan > > > >> >> and I am getting: > > > >> >> <div id="top"><h1> <a href="http://address/main > > >> >> <view-source:http://awiki.tnet.com/main>" >Site Title</a></h1> > > >> >> <span style='color:white' >Secondary sloagan</span><br /> > > >> >> <h2> Slogan</h2> > > >> >> <div class='vspace'> </div> > > >> >> <br /> > > >> >> <br /> > > >> >> </div> > > >> >> <div id="side">... > > > >> >> Where are the extra BR's coming from. Combining the BR's with the > > >> >> vspace, I > > >> >> end up with a big gap after the content that I can't get rid of. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
