Skip to main content
March 31, 2008
Question

Commenting out code in TrueCode mode deletes code

  • March 31, 2008
  • 2 replies
  • 570 views
We used RoboHelp X3 and was trying to comment out specific sections of a code by moving over to the True Code view and commenting them out following the usual HTML standards/conventions. However, we found that when we saved the project, generated the file, and opened the topic(s) from the source project next time, the sections that we had commented out had actually got deleted. Could you please help me with this? Is there a specific way to comment out code in RoboHelp?
This topic has been closed for replies.

2 replies

Inspiring
April 1, 2008
(I began the earlier reply before I knew what I wanted to say).

Is it possible that when those particular lines are commented out, the result is a syntax error in the remaining html or js code?

Also, consider that html and js code techniques have come a long way since X3. Maybe your code is technically correct now, but X3 doesn't know it.

Good luck.

Harvey

MergeThis
Inspiring
April 2, 2008
Are you inserting <!-- before the content and --> after the content?

Just checking...


Good luck,
Leon
Inspiring
March 31, 2008
Never mind.