Closed rachkor closed 4 years ago
Not just code blocks, but the inline code does the same thing for single and double quotes. Should I show POC here or make a separate issue?
Could you open a new issue for that so that we can discuss? I believe it’s unrelated as we don’t support inline code.
Maybe I am calling something "inline code" and it is not. here is what I get -- both in the regular presentation and the HTML export. Anyways, the new HTML pull request will fix some of this --- which is what I am using to render.
The original text:
how it renders in browser
How the HTML exports it
UPDATE I think I found a clue. Check this weirdness out. My code for the codeblock is:
It renders like this:
And Exports like this:
So it renders the initial single quote and greater-than sign just fine, but the next single quote and all other characters it renders with HTML entities.
This PR fixes this: https://github.com/dradis/dradis-html_export/pull/20
resolved
Steps to reproduce
Upload the OSCP compliance pack report template (html.erb file) and project (.zip file) from: https://dradisframework.com/academy/industry/compliance/oscp/index.html
Edit an instance of evidence to:
Export your project to the OSCP HTML report template
Expected behavior
The output should appear like:
Actual behavior
The output has HTML entities in the code block instead of characters:
System configuration
Dradis version: v3.11.0