> > I know, but how can I put HTML tags inside a text link? I was using

> Line 480 of markups.php says this:
>
>         $label = BOLTtemplatemarkup($label, $pageLink, 'link', 
> 'vars,func,style');
>
> That is, only orders:vars, func, and style get processed. I changed
> it tovars,func,style,fmt and my html tags get substituted properly.

I never cease to wonder at the configurability of BoltWire!

> Or... We could just rename the last fmt>html rule to the first
> style>html rule. That will make it processed with the other things.
> For yoru specific situation, you might try copying the block>spanrule
> to style>spanand see if it doesn't solve your problem.

Thank you for the clues. Instead of copying, I moved the span rule
from block to style in my config.php:

MarkUp('block', 'span','' );  // <span>
MarkUp('style', 'span', '/([\\n]?)(&lt;|<)([\/]{0,1})span(.*?)>/e',
'BOLTMstyles("$4", "span", "$1", "$3")');  // <span>

That solved the problem. Now spans in variables are properly rendered
in links!

I don't know if <span> has to be in the block group anyway. I'll see
if something strange happens...

By the way, it seems the span rule doesn't accept no parameters, I
mean: <span>bla bla</span> is rendered as text while <span
blabla="blabla">bla bla</span> is rendeded as XHTML. A <span> with no
parameters is not useless, it's used sometimes to apply styles inside
special <div> or  <p>. I'll note this in my to-do list to modify the
rule.

Thanks

Marcos
--
http://alinome.net

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