On Tue, Mar 31, 2009 at 2:49 PM, Marcos Cruz <[email protected]> wrote: > > El/Je/On 2009-03-31 06:44, The Editor escribió / skribis / wrote : > >> The code however is much cleaner and simpler to change the text to this: >> <div style='background: blue; border: 1px solid green'>TEXT</div> > > Do you mean "style" would be the only attribute allowed by default? In my > site (BW 2.35) I modified the markups to allow any XHTML attributes inside > DIVs. It's a personal site, so there's no risk. > > (I'm a bit lost after so many new versions and improvements. I'm going to > test the last versions soon.) > > Cheers, > Marcos
No, you can set any attribute defined by the BOLTattrs array. It's just how they are set. Notice the difference 2.70 <div background='blue' border="1px solid green'>TEXT</div> 2.71 <div style='background: blue; border: 1px solid green'>TEXT</div> More standard html. You can also include in a div class or id. And other options could be added easily enough. It's just a change in syntax, though it might have security implications. Not sure. I might reverse the change if there's good reason. It just simplifies the code a good bit. 2.71 is not perfect. There's a line spacing bug somewhere at least. Possibly other glitches, from all the new code. But most of it is all under the hood. No visible changes. Cheers, Dan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
