"name="toc-1">" in headers after a link

Picture of Beni Keller
"name="toc-1">" in headers after a link

I edited a HTML wiki page using the Atto editor. When I did the following steps:

  • Insert a link on its own line using the link button Atto provides.
  • Hit enter to get to a new line.
  • Change the new line to any heading level
  • Type a heading and save.

Then the heading ends up being prefixed with some HTML fragments:

name="toc-1">New Head

I attached a screenshot.

I couldn't find a way to revert those changes. How can this be fixed?

I'm on Moodle Moodle 3.4.1+ (Build: 20180118)

Average of ratings: -