-
Notifications
You must be signed in to change notification settings - Fork 367
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Requirements
- This is a bug report, and if not, please post to https://lemmy.ml/c/lemmy_support instead.
- Please check to see if this issue already exists.
- It's a single bug. Do not report multiple bugs in one issue.
- It's a frontend issue, not a backend issue; Otherwise please create an issue on the backend repo instead.
Summary
When you select a sentence and press the superscript or subscript buttons, it creates markdown like:
^A sentence with spaces^ or ~A sentence with spaces~
These do not render properly. Instead, spaces should be handled either by escaping them (preferable IMO):
^A\ sentence\ with\ spaces^
Or skipping them:
^A^ ^sentence^ ^with^ ^spaces^
Steps to Reproduce
- Start writing a post/comment
- Select text with a space included
- Press either the superscript or subscript button in the formatting panel
Technical Details
Not relevant, this issue occurs regardless of device or browser because the generated HTML does not format the text as desired.
Lemmy Instance Version
BE: 0.19.15, FE text not currently displayed?
Lemmy Instance URL
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working