Just a note, I was able to change the last line of the preview
function to these lines and it seems to fix things.  If anyone cares
to test around a bit that would be great.

                $preview = BOLTdomarkup("\n$preview", $pageLink, '', '', false);
                return BOLTescape("<div class='preview'>" . ltrim($preview) . 
"</div>");
//              return BOLTescape(BOLTdomarkup("<div
class='preview'>$preview</div>", $pageLink, '', '', false));

Plans are to put this in the next release.

Cheers,
Dan


On Fri, Jul 31, 2009 at 11:46 AM, The Editor<[email protected]> wrote:
> Ok, I got it now. Not sure how easy the fix is. The reason is the ! h1
> markup requires an leading line return.  I get around it in the
> various zones by artifically adding one then stripping it out at the
> end. Maybe I can do something similar with the preview option. Not
> sure. Thanks for spotting this.
>
> By the way, this is done so you don't have problems with exclamation
> marks anywhere else in the code. But to allow it in situations like
> this
>
> [t][r][c]! Cell One[t]
>
> Maybe there's another way around it. I'll dig around some.
>
> Cheers,
> Dan
>
>
> On Fri, Jul 31, 2009 at 11:36 AM, Markus<[email protected]> wrote:
>>
>> Okay, I got that line spacing right although it messes little bit with
>> my style sheet. Should be possible to get right both.
>>
>> I can only underline "awkward". The source seems highly crazy to me...
>>
>> <p><div  class='preview' >one<br />
>> <p>two</p>
>> three<br />
>> four</div></p>
>> <textarea  cols='60'  rows='16'  name='content' >one
>> two
>>
>> three
>> four</textarea><br />
>>
>> Are the line spacing mechanisms of other wikis and CMSs not applicable
>> to BoltWire due to its design?
>>
>> Thanks a lot, Dan, for your help!
>>
>> Regards, Markus
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
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