On Sun, Nov 1, 2009 at 5:04 AM, Markus <[email protected]> wrote:
>
> bla bla
>
> ----
>
> bla bla
>
> produces this HTML:
>
> bla bla<br />
> <hr /><br />
> bla bla<br />
>
> Shouldn't it be:
>
> <p>bla bla</p>
> <hr />
> <p>bla bla</p>

You would think so, but the markup rule looks for a line before and/or
after and eats them if they exist. I changed the rule to this:

MarkUp('style', 'hr', '/\n?\-\-\-\-\n?/', "\n<hr />\n"); // ---- horizontal line

And changed line 455 of markups.php to this:

        if ($text == '[results]' || $text == '[messages]' || $text == '<hr
/>') $noP = true;

And it seems to render a little more predictable results. What do you
think of those changes?

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