Skip to content

Date in Title #470

Closed
Closed

Description

@Tealk

Describe the bug

If you enter a date in the title 12. april then it becomes 1. april
in the database it is correct
but if you write 12.april it works without problems

Steps to reproduce (if necessary)

Steps to reproduce the behavior:

  1. Create a new post
  2. enter a date in the title
  3. save the post

Expected behavior

the correct date should be displayed

Application configuration

  • Single mode or Multi-user mode? Multi-user mode
  • Database? mysql
  • Open registration? no
  • Federation enabled? yes

Version or last commit: 0.13.0

Activity

  1. thebaer commented on Jun 22, 2021

    @thebaer
    Member

    Good catch, @Tealk -- thanks for the report! I was able to verify this. I believe it's because we render the title as Markdown (to preserve title links), so we're parsing this as the first item in a list, instead of an arbitrary number followed by a dot. I'm looking into a fix now.

  2. added this to the 0.13.1 milestone on Jun 22, 2021
  3. self-assigned this
    on Jun 22, 2021
  4. added a commit that references this issue on Jun 22, 2021
    0ddca40
  5. linked a pull request that will close this issueDon't render title as list item #471on Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions