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

exporters/html_table: line breaks inside code blocks are not rendered (markdown) #83

Open
nodiscc opened this issue Feb 4, 2023 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@nodiscc
Copy link
Owner

nodiscc commented Feb 4, 2023

Input:

- created: '2020-07-23T19:54:15+02:00'
  description: "```\r\n   rescue:\r\n     - debug:\r\n         msg: 'I caught an error, can do stuff here to fix it, :-)'\r\n   always:\r\n     - debug:\r\n         msg: \"This always executes, :-)\"\r\n```"
  id: 232
  private: false
  shorturl: oJmZFg
  tags:
  - doc
  - admin
  - ansible
  title: Blocks — Ansible Documentation
  updated: '2023-01-25T15:02:16+01:00'
  url: https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_blocks.html

Output:

<tr>
  <td><a href='https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_blocks.html'>Blocks — Ansible Documentation</a>
  <br/><details><summary></summary><p><code>rescue:
     - debug:
         msg: 'I caught an error, can do stuff here to fix it, :-)'
   always:
     - debug:
         msg: "This always executes, :-)"</code></p></details>
  </td>
  <td><code>@doc</code> <code>@admin</code> <code>@ansible</code></td>
<tr/>

Rendered:

image

@nodiscc nodiscc added the bug Something isn't working label Feb 4, 2023
@nodiscc nodiscc added this to the 1.1.0 milestone Feb 4, 2023
@nodiscc nodiscc changed the title exporters/html_table: line breaks inside code blocks are not redenered (markdown) exporters/html_table: line breaks inside code blocks are not rendered (markdown) Feb 4, 2023
nodiscc added a commit that referenced this issue Feb 4, 2023
nodiscc added a commit that referenced this issue Feb 4, 2023
nodiscc added a commit that referenced this issue Feb 4, 2023
nodiscc added a commit that referenced this issue Feb 4, 2023
nodiscc added a commit that referenced this issue Feb 9, 2023
@nodiscc nodiscc modified the milestones: 1.1.0, 1.2.0 Jul 29, 2023
@nodiscc nodiscc modified the milestones: 1.2.0, 1.3.0 Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant