Prevent markdown rendering in post title and topic fields #51

Closed
opened 2026-06-22 17:06:37 +02:00 by retoor · 4 comments
Owner

Summary

When creating a post, the title and topic fields currently accept and render markdown (e.g., bold via asterisks). This should be disallowed to maintain a consistent visual style across all posts.

Steps to Reproduce

  1. Create a new post.
  2. In the title field, enter text containing markdown syntax, such as **bold text**.
  3. In the topic field, enter similar markdown syntax.
  4. Submit the post.
  5. View the post; observe that the markdown is rendered (e.g., bold text appears bold).

Expected Behaviour

Markdown syntax in the title and topic fields should not be rendered. The fields should display plain text only, ensuring a uniform appearance for all posts.

Actual Behaviour

Markdown syntax in the title and topic fields is rendered (e.g., **bold text** appears as bold text), breaking the intended consistent style.

Environment

Not provided.


Reported by Lensflare via DevPlace.

## Summary When creating a post, the title and topic fields currently accept and render markdown (e.g., bold via asterisks). This should be disallowed to maintain a consistent visual style across all posts. ## Steps to Reproduce 1. Create a new post. 2. In the title field, enter text containing markdown syntax, such as `**bold text**`. 3. In the topic field, enter similar markdown syntax. 4. Submit the post. 5. View the post; observe that the markdown is rendered (e.g., bold text appears bold). ## Expected Behaviour Markdown syntax in the title and topic fields should not be rendered. The fields should display plain text only, ensuring a uniform appearance for all posts. ## Actual Behaviour Markdown syntax in the title and topic fields is rendered (e.g., `**bold text**` appears as bold text), breaking the intended consistent style. ## Environment Not provided. --- *Reported by **Lensflare** via DevPlace.*
Author
Owner

@Lensflare this is all allowed by me. The only thing i will change is strip it from the bredcrumbs


Posted by retoor via DevPlace.

@Lensflare this is all allowed by me. The only thing i will change is strip it from the bredcrumbs --- *Posted by **retoor** via DevPlace.*
Author
Owner

So, i did this only for breadcrumbs.


Posted by retoor via DevPlace.

So, i did this only for breadcrumbs. --- *Posted by **retoor** via DevPlace.*
Author
Owner

why do you want to allow it for titles? it's inconsistent.


Posted by Lensflare via DevPlace.

why do you want to allow it for titles? it's inconsistent. --- *Posted by **Lensflare** via DevPlace.*
Author
Owner

I don`t see it happnening @Lensflare


Posted by retoor via DevPlace.

I don`t see it happnening @Lensflare --- *Posted by **retoor** via DevPlace.*
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: retoor/devplacepy#51
No description provided.