Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coderef using keyref also prints temporary file name #3232

Closed
qvrijt opened this issue Feb 21, 2019 · 2 comments · Fixed by #3496
Closed

Coderef using keyref also prints temporary file name #3232

qvrijt opened this issue Feb 21, 2019 · 2 comments · Fixed by #3496
Labels
bug preprocess/coderef priority/medium Medium (or unknown) priority issue
Milestone

Comments

@qvrijt
Copy link

qvrijt commented Feb 21, 2019

Expected Behavior

I am using a codeblock with coderef to a C# file pointed to by a keyref.
Only the file content is listed in the codeblock.

Following snapshot shows output using direct href path to the same file.
image

Actual Behavior

After the codeblock, the file name of the temporary file is printed.
image

Environment

  • DITA-OT version: 3.2.1 out-of the box, no external plugins
  • Operating system and version: Windows 10
  • How did you run DITA-OT? calling dita.bat
  • Transformation type: PDF, using FOP

My bookmap project used:
coderef-test.zip

@qvrijt qvrijt changed the title Coderef using keyref also prints source file name Coderef using keyref also prints temporary file name Feb 21, 2019
@robander
Copy link
Member

robander commented Nov 7, 2019

Reproduced in 3.3.4 with both HTML and PDF.

In HTML output, the last line of the code block includes the full path name of the snippet:
}snippets/csharp-regions-simple.cs

@robander robander added bug priority/medium Medium (or unknown) priority issue preprocess/coderef labels Nov 7, 2019
@masofcon
Copy link

masofcon commented Mar 28, 2020

Reproduced in 3.3.4 with both HTML and PDF.

In HTML output, the last line of the code block includes the full path name of the snippet:
}snippets/csharp-regions-simple.cs

Same in DITA-OT version 3.4.1

Is there any plans to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug preprocess/coderef priority/medium Medium (or unknown) priority issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants