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

Variables with angle brackets <>

Guest
Nov 01, 2011 Nov 01, 2011

I was trying to create a variable that contained angle brackets <> as the text needed in the variables are angle brackets in this instance. However, there is also text between the angel brackets. When I created the variable, the text between the angle brackets was in Courier New font and it had a red background. When I previewed the page, that information was cut out of the variable.

First, how do I add angle brackets within a variable (or can you)?

Second, what is happening when I add angle brackets and the font changes and the background color changes behind the text? What does it do? Can someone point me to an article or reference on what it does and how it's helpful?

Thanks.

1.1K
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 ,
Nov 01, 2011 Nov 01, 2011

Hi,

Which version of RoboHelp are you using? Can you post a screen shot of what is happening? If the font and background changes, you either applied styling or you added a HTML tag by accident.

The angle brackets are protected elements as they delimit HTML tags. What are you trying to achieve? Do you want to add a HTML tag to the variable or do you want to add the brackets as text? Adding HTML tags was introduced in RH8 if I'm not mistaken.

If you want to add the brackets as text, make sure you vies the design view of the variables and simply type the angle brackets. If that doesn't work, add the escape characters for the brackets in HTML mode:

< = &lt;

> = &gt;

Greet,

Willam

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
Engaged ,
Nov 01, 2011 Nov 01, 2011
LATEST

Hi mcallit82,

           you can have &lt; or &gt; in the udv values there are two ways to achieve this

     1. You can directly type these characters in the design view of the UDV value as shown below

UDV_design_view.JPG

2. the UDV creation dialog you can use '&lt;' for '&lt;' and '&gt;' for '&gt;'

Hope this will help

Ashish

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