Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
core
core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 224
    • Issues 224
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • hubzilla
  • corecore
  • Issues
  • #1512

Closed
Open
Opened 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 admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: hubzilla/core#1512