Skip to main content
Participant
August 5, 2009
Question

"Locking" chunks of HTML Code

  • August 5, 2009
  • 2 replies
  • 938 views

Hi everyone,

I was wondering if there was a way to lock a chunk of HTML code so that when you switch into Design view RoboHelp wont edit it? I ask because I have this code block:

Original Code

But when I switch to design view and back again it messes it up, replaces <'s and >'s with their HTML equivalent

Changed Code

Anyone have any ideas how to fix this?

Cheers

This topic has been closed for replies.

2 replies

Willam van Weelden
Inspiring
August 5, 2009

Hi,

You shouldn't have to use the conditional comments. When a browser cannot load the object, it will execute the code between the object tags. What happens if you remove the conditional comment?

Greet,

Willam

Peter Grainge
Community Expert
Community Expert
August 5, 2009

Could you not put the code into a text field from the Insert menu? Does that work?

Sorry about the earlier misunderstanding, failed to spot those were hyperlinks.


See www.grainge.org for RoboHelp and Authoring tips

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
August 5, 2009

Tom

I am seeing one thing via an RSS feed and something else on the forum.

Neither make sense. Can you please take a look at your post and correct it?


See www.grainge.org for RoboHelp and Authoring tips

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Participant
August 5, 2009

I'm sorry I don't understand, what doesn't make sense?

RoboWizard
Inspiring
August 5, 2009

Hi all

Peter, I think Tom is posting code on some odd site and just linking to it as opposed to inserting it into the post.

Tom, aside from just looking a bit odd in HTML view, does it cause things to break?

Cheers... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks