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

Multi-line class documentation comments begin with an extra space #76815

Closed
Pennycook opened this issue May 7, 2023 · 0 comments · Fixed by #75043
Closed

Multi-line class documentation comments begin with an extra space #76815

Pennycook opened this issue May 7, 2023 · 0 comments · Fixed by #75043

Comments

@Pennycook
Copy link
Contributor

Pennycook commented May 7, 2023

Godot version

v4.0.stable.official [92bee43]

System information

Steam OS Holo, Steam Deck

Issue description

Using a [br] tag at the end of a line in a documentation comment adds an additional space at the beginning of the following line:

image

Steps to reproduce

The script below is what I used to generate the image above:

class_name Test
extends Node

## High-level description
##
## First line of detail.[br]
## Second line of detail.

Removing the space between ## and Second doesn't change the output.

The only workaround I've found so far is to remove the linebreak after the [br] tag, but this makes the documentation comments harder to read in the editor:

class_name Test
extends Node

## High-level description
##
## First line of detail.[br]Second line of detail.

Minimal reproduction project

N/A

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

Successfully merging a pull request may close this issue.

2 participants