pandoc-4

Formatting in code blocks is not allowed by pandoc, causing bold code to be possible but a code block with parts bold in it impossible for LaTeX. The fix is to make sure formatting of a code block happens outside of the codeblock.

ghc-version: 8.10.7

hasbugs-version: 1.0.0

license: GPLv2

build-framework: stack

Repository
GitHub Artifacts :

Faults @a21d6e9f

[
  {
    "endline": 350,
    "file": "src/Text/Pandoc/Readers/LaTeX.hs",
    "function": "inlineCommands",
    "module": "Text.Pandoc.Readers.LaTeX",
    "startline": 350
  },
  {
    "endline": 371,
    "file": "src/Text/Pandoc/Readers/LaTeX.hs",
    "function": "inlineCommands",
    "module": "Text.Pandoc.Readers.LaTeX",
    "startline": 371
  },
  {
    "endline": 411,
    "file": "src/Text/Pandoc/Readers/LaTeX.hs",
    "function": "inlineCommands",
    "module": "Text.Pandoc.Readers.LaTeX",
    "startline": 410
  }
]

Fixes @f317ec41

[
  {
    "endline": 350,
    "file": "src/Text/Pandoc/Readers/LaTeX.hs",
    "function": "inlineCommands",
    "module": "Text.Pandoc.Readers.LaTeX",
    "startline": 350
  },
  {
    "endline": 371,
    "file": "src/Text/Pandoc/Readers/LaTeX.hs",
    "function": "inlineCommands",
    "module": "Text.Pandoc.Readers.LaTeX",
    "startline": 371
  },
  {
    "endline": 411,
    "file": "src/Text/Pandoc/Readers/LaTeX.hs",
    "function": "inlineCommands",
    "module": "Text.Pandoc.Readers.LaTeX",
    "startline": 410
  },
  {
    "endline": 802,
    "file": "src/Text/Pandoc/Shared.hs",
    "function": "formatCode",
    "module": "Text.Pandoc.Shared",
    "startline": 783
  }
]