Skip to content

No leading/trailing spaces when generating heading ids (Fixes #57528)

Willian Balmant requested to merge (removed):patch-49 into master

What does this MR do?

Fixes #57528 (closed)

This removes leading and trailing spaces from heading when generating id to anchor the heading in Markdown.

Before this MR, this code in a Markdown document

<h1>
  Title
</h1>

would be anchored via #-title.

Conformity

Edited by Brett Walker

Merge request reports