Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • core core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 242
    • Issues 242
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • hubzillahubzilla
  • corecore
  • Issues
  • #1512
Closed
Open
Issue created Jan 08, 2021 by Happy Pony@HappyPony

Parser behaves strangely

Description of the test scenarios:

  • If I delete only single last character "] in the line [76]" in this article https://realtime.fyi/articles/fedisphere/deyaroom-coin-linkssammlung-test1 , then the [View Article] link is displayed.
  • If I replace the last character "] in the line [76]" with }, then the [View Article] link is displayed. That this is syntactically wrong, be left aside.
  • The [View Article] link is also displayed if I delete the entire line [75.3].
  • The [View Article] link is not displayed if I delete only one character at the end of line [75.3].
  • The [View Article] link is not displayed if I delete the string "[75.1] Springer Nature Switzerland AG - ".
  • The link [View Article] is displayed if I delete the complete line "[75.1] - i.e. all characters up to the character string [75.2].

So obviously the number of characters doesn't matter when it comes to whether the [View Article] link is displayed after parsing.

I assume that this is an error. It is desirable, especially for longer articles, to be able to show them compactly and then display them completely with the [View Article] link.

Edited Jan 08, 2021 by Happy Pony
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking