trentm / trentm/python-markdown2

Missing block in output replaced with md5-stuffstuffstuff

Open
#182 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.8k
Forks
459
Avg merge
2d 19h
Merged PRs (30d)
4

Description

We have been using the django-markdown-deux markdown Django template tag (and therefore indirectly python-markdown2) occasionally throughout our Django app.

Today, we added a new usage of the markdown Django template tag and saw some unusual behavior in the output rendering. A large block of text/formatting had been removed and replaced with md5-013e64a4a229d1926c2bd523e0c5d77b. Please see attached input and output.

We have found a temporary workaround by including an extra paragraph, containing only  , where the cutoff would otherwise occur.

Possibly related to #127. We're seeing the same symptoms but from different input cases.

Appreciate if you have any insight into this issue. Thanks in advance!

Relevant excerpt of Markdown input: https://www.refheap.com/025bf00f2235b9c7e2601a43a
Relevant excerpt of rendered HTML output: https://www.refheap.com/3eac75d0a0d170170997ed318

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the django-markdown-deux markdown template tag and python-markdown2 using the linked Markdown input and rendered HTML output. Compare where the md5-013e64a4a229d1926c2bd523e0c5d77b placeholder appears, and check related issue #127 for context. Done means reproducing the missing block in a regression case and preserving the expected rendered content.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.