jgm / jgm/pandoc

Textile → gfm: `<pre>` tag messes up unordered list

Open
#8,564 4 comments 0 reactions 0 assignees View on GitHub
bug format:Textile reader
Dominant language
Haskell
Stars
46.3k
Forks
4k
Avg merge
19h 39m
Merged PRs (30d)
9

Description

Here's a weird one. ;-) Tested with the latest Pandoc 3.0 in the online demo and with a build from Master from a few days ago on my server.

### Original Textile:
```
* List item #1
* List item #2 with

something
tags
```

### Pandoc converted to `gfm`:
```
\* List item \#1

\* List item \#2 with

something

tags
```

### Expected output:
```
- List item #1
- List item #2 with `something` tags
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the conversion with the Textile input and Pandoc 3.0 or a current master build, then compare the generated GFM with the expected list and inline-code output. Inspect the conversion handling for

 tags inside unordered lists; the work is done when the example produces the expected GFM without escaped list markers or split paragraphs.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, markdown
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.