Results 1 to 3 of 3

Thread: Retaining square brackets in slice2html output

  1. #1
    gwvdlinden is offline Registered User
    Name: Gwendolyn van der Linden
    Organization: SC Solutions
    Project: Bridge health monitoring system
    Join Date
    Oct 2009
    Posts
    4

    Retaining square brackets in slice2html output

    Hi,

    It seems slice2html is converting [xyz] fragments in the documentation strings even if the xyz part is not a valid name. I want to use e.g. [1,2,3] in the documentation without it being converted to typewrite font and being stripped of the brackets. How can I achieve that?

    Thanks,
    Gwen.

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    Hi Gwen,

    You can escape the opening bracket like this:

    /** Legal values are \[1,2,3] **/

    Regards,
    Mark

  3. #3
    gwvdlinden is offline Registered User
    Name: Gwendolyn van der Linden
    Organization: SC Solutions
    Project: Bridge health monitoring system
    Join Date
    Oct 2009
    Posts
    4
    Ah, quite simple. Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. slice2html - forward declarations issue
    By kwaclaw in forum Bug Reports
    Replies: 2
    Last Post: 02-16-2009, 05:41 PM
  2. Retaining exception source information
    By paolo in forum Comments
    Replies: 0
    Last Post: 01-29-2008, 06:15 AM
  3. slice2html and constants
    By mspycher in forum Help Center
    Replies: 2
    Last Post: 09-19-2007, 06:27 PM
  4. slice2html v3.2.0 aborts
    By mspycher in forum Bug Reports
    Replies: 1
    Last Post: 06-27-2007, 09:33 PM
  5. slice2html missing
    By UserXYZ in forum Help Center
    Replies: 0
    Last Post: 05-04-2007, 01:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •