Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Divs in user-defined variables

Participant ,
Mar 24, 2016 Mar 24, 2016

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

455
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 28, 2016 Mar 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 28, 2016 Mar 28, 2016

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 04, 2016 Apr 04, 2016
LATEST

Thanks. Works fine with a <span>.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp