Skip to content

Require a space before a Hashtag (#) so as not to ruin URLs and other note content #6087

Description

@Justinzobel

Pre-submission Checklist

  • I have searched existing issues and confirmed this has not already been reported
  • I have reproduced this bug on the latest Memos release, current main, or the demo site, or this report is specifically about upgrading to the latest release
  • This is a bug report, not a question or configuration request

Affected Area

Markdown / editor

Reproduced On

Latest release

Memos Version Tested

Version: 0.29.1Commit: 5f194da

Previous Version

No response

Environment Details

This happens via the WebUI and if adding a Memo via the API.

Reproduction Frequency

Always

Steps to Reproduce

Add a new Memo with a # tag in the middle of a word

Current Behavior

tag is interpretted and made into a new tag

Expected Behavior

The new tag is not created

Regression Information

No response

Logs

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions