Skip to main content
Inspiring
March 24, 2016
Question

Divs in user-defined variables

  • March 24, 2016
  • 2 replies
  • 450 views

RH2015 | WebHelp

Anyone know if there's a workaround for RH stripping out divs from user-defined variables? For some reason you can code divs in the "HTML source code view" but as soon as you switch to "Design view" and back, it strips them out, leaving just the text.

Thanks

Jonathan

This topic has been closed for replies.

2 replies

Jop_SmithAuthor
Inspiring
April 4, 2016

Thanks. Works fine with a <span>.

Willam van Weelden
Inspiring
March 28, 2016

Variables are inline and DIV's are blocks. I believe that is the reason RH doesn't like them. Try using <i> with a class applied for styling instead.

Community Expert
March 28, 2016

or a <span> so you don't have to use a style to remove the italics.