Skip to content

[Bug][Markdown]: there is something wrong on CodeBlockParser #85

Description

@xzapps

Operating System

windows

Compiler

qt

Compiler flags

no

maddy version

1.5.0 (latest)

Minimal Mardown example

my markdown code is

function findSequence(goal) {
  function find(start, history) {
    if (start == goal)
      return history;
    else if (start > goal)
      return null;
    else
      return find(start + 5, "(" + history + " + 5)") ||
             find(start * 3, "(" + history + " * 3)");
  }
  return find(1, "1");

but after parser
the html code is like that

`
`
`
function findSequence(goal) {
function find(start, history) {
if (start == goal)
return history;
else if (start > goal)
return null;
else
return find(start + 5, \"(\" + history + \" + 5)\") ||
find(start 3, \"(\" + history + \" 3)\");
}
return find(1, \"1\");
`

it should be that

-----

thank you very much

What is not working? What did you try?

no

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions