chroxify / chroxify/haptic

Bug: Blockquotes Inject Quote Characters Into Strange Places

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Svelte
Stars
1.7k
Forks
54
PR merge metrics
No merged PRs in 30d

Description

### Describe your issue

While running some Markdown compatibility tests using the [classic MDTest](https://github.com/michelf/mdtest/blob/master/Markdown.mdtest/Blockquotes%20with%20code%20blocks.text) I noticed that Haptic generates output with additional quote characters in strange places.

What I assume happened here is that Haptic is looking for the last bit of text in a blockquote and appending the character. Not sure if this is happening at the CSS level or not.

I have written CSS for Obsidian which places large decorate quotes at the top and bottom of blockquotes, becoming a design element rather than an inline character. Something like that might suit Haptic if it wants to add quotes without additional logic. Many other editors don't add quotes at all, perhaps for this reason.

### Steps to reproduce

1. Open `Blockquotes with code blocks.text` in Haptic.
2. Observe stray quote characters.

### What was the expected result?

No stray quote characters.

### Put here any screenshots or videos (optional)

![Image](https://github.com/user-attachments/assets/fee92b73-2565-4ffd-ba04-d2b76af3855a)

### Would you like to work on this issue?

None

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.