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

Javascript appears in Word output

New Here ,
Sep 09, 2022 Sep 09, 2022

Copy link to clipboard

Copied

I am using RH 2020 (the new UI), and have just updated to update 8. 
I have an old project that I have upgraded and I am able to output to the Frameless preset with no issues, but when I try to create a Word output (which runs successfully) I see sections of what I believe is javascript in the document (see below). This code can be seen within the <body> tags in the source code but surely shouldn't be part of the output. The rest of the Word output seems to be fine. Has anyone else observed this and is there a solution please? I've looked long and hard at the settings for the Word output present but can't see anything that would account for this. I've also not found this issue reported elsewhere.Word output issue.JPG

Views

81

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Sep 09, 2022 Sep 09, 2022

If you can see that code in the source RH files, then you've probably contaminated the source file with output files at some point. Try cleaning it up and generate again.

Votes

Translate

Translate
Community Expert ,
Sep 09, 2022 Sep 09, 2022

Copy link to clipboard

Copied

If you can see that code in the source RH files, then you've probably contaminated the source file with output files at some point. Try cleaning it up and generate again.

Votes

Translate

Translate

Report

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
New Here ,
Sep 09, 2022 Sep 09, 2022

Copy link to clipboard

Copied

Thanks for the response Jeff. That seems to have solved the problem without breaking the output in either format (Frameless or Word). It seems obvious with hindsight but I had assumed that code was generated automatically and was therefore needed...
For future reference, how might I have contaminated the source files with output files please? 

Votes

Translate

Translate

Report

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 ,
Sep 09, 2022 Sep 09, 2022

Copy link to clipboard

Copied

LATEST

Usually it happened if you pointed the output file location to where the source project resided. I'm pretty sure that changed in the New UI versions of RH2019+.

Votes

Translate

Translate

Report

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