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

When a Markdown includes comments, it may cause the interface to display abnormally #1186

Open
fenbox opened this issue Nov 26, 2024 · 2 comments
Assignees
Labels
enhancement Enhancement request

Comments

@fenbox
Copy link
Member

fenbox commented Nov 26, 2024

Is your enhancement request related to a problem? Please describe

When there are only HTML comments in the question, answer, or comments, display as empty.

image

Describe the solution you'd like

Check word count when submitting, excluding comments.

Describe alternatives you've considered

Like the GitHub Issue, show "No description provided."

image

@fenbox fenbox added the enhancement Enhancement request label Nov 26, 2024
@jihuayu
Copy link
Member

jihuayu commented Dec 9, 2024

Hi @fenbox, I'm interested in this question.

I think we can implement special handling during display, so we can determine the displayed text based on the user's language.

Do we consider empty lines or spaces (like the below) as empty content?

     



@fenbox
Copy link
Member Author

fenbox commented Dec 10, 2024

@jihuayu I think spaces and empty line should also be considered as empty content.

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

No branches or pull requests

3 participants