All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low Variables stripping inline styling with format="xhtml"

James Smith 16 May 2012 12:20 problem, complete

Is this intended behaviour?

Variable content is eg:

Lorem <span style="color:red">ipsum</span> dolor

Any way to make that work?

Replies

  1. Low 16 May 2012 13:02

    That's the default behaviour for the xhtml safe formatting. You can't set it to all at the moment. If you want, I could send you an updated version of the Textarea var type that will allow you to do so.

  2. James Smith 16 May 2012 13:06

    thanks Low, don't worry about it I'll just use no formatting and get the client to add paragraph tags where necessary.

  3. Low 16 May 2012 13:07

    Cool. I'll add the option to set the html_format to 'none', 'safe' or 'all' to the next version anyway.