I like having a horizontal rule [hr] BBCode but I'm not quite sure how to handle it. you can't use the regular custom BBCode admin becasue the tags need an end tag and can't be empty. the thought of using something like [hr]-[/hr] just to force it to work annoys me. I tried using the replacements but it gets messed up on edit.
what I would up with was a plugin at bbcode_parse_complete with this code
Code:
$text = str_replace("[hr]", "<hr>", $text);
it appears to work 100%. I'm going to see what I can do to control who can use it. I assume i can limit it somehow.
my question is, is there a problem with handling a custom BBCode like this? Is there a more efficient way? I saw a great
explanation on how to parse custom BBCodes here but it's for tags w/ a beginning and ending tag.
thanks in advance.