Skip to content

mdsf applies changes outside code snippet #138

Closed
@ccoVeille

Description

@ccoVeille

I love your tool idea.

I can see you are actively working on it, so first of all, thank you !

Here are the kind of replacement I noticed

# title

Let's play!

Have some fun...

I like "mdsf"

| Field            | Description            |
|------------------|------------------------|
| foo              |   foo field            |
| bar              |   bar field            |

```shell
ls
```

will become

# title

Let’s play!

Have some fun…

I like “mdsf”

|Field|Description|
|-----|-----------|
|foo|foo field|
|bar|bar field|

```shell
ls
```

The table formatting is broken. It will render OK in markdown, but the text was altered.

You might not notice at first but it replaces:

  • ... (three consecutive dots) into U+2026 … HORIZONTAL ELLIPSIS
  • simple quote by U+2019 ’ RIGHT SINGLE QUOTATION MARK
  • double quoted text by text surrounded by:
    • U+201D ” RIGHT DOUBLE QUOTATION MARK
    • U+201C “ LEFT DOUBLE QUOTATION MARK

I would expect the code to only apply changes on the block quotes

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions