trentm / trentm/python-markdown2
[shadow] conversion problem with this embedded raw HTML
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 459
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 4
Description
_This is a _shadow issue* for Issue 41 on Google Code (from which this project was moved).
Added 2010-06-09T17:06:09.000Z by tre...@gmail.com.
Labels: Type-Defect, Priority-High.
Please make updates to the bug there.*
Original description
markdown2.py doesn't get all the "# ..." h1's in the following. Markdown.pl doesn't either. The version (old) of markdown.py that I have does get this right:
{{{
<style>
h1 {
border-top: 3px solid #ccc;
padding: 10px 0;
margin: 40px 0 10px 0;
}
</style>
# `.as_font_swiss921` (Swiss 921 BT Regular A)
<div class="as_font_swiss921" style="font-size: 36px;">Active<span class="as_brand_red">State</span></div>
<div class="as_font_swiss921">Active<span class="as_brand_red">State</span> Code</div>
<div class="as_font_swiss921">trent<span class="as_brand_red">m</span>@active<span class="as_brand_red">state</span>.com</div>
<div class="as_font_swiss921">Trent<span class="as_brand_red">M</span>@Active<span class="as_brand_red">State</span>.com</div>
# `.as_font_swiss721cnbold` (Swiss 721 BT Condensed Bold)
<div class="as_font_swiss721cnbold" style="font-size: 36px;">Active<span class="as_brand_red">State</span></div>
<div class="as_font_swiss721cnbold">Active<span class="as_brand_red">State</span> Code</div>
<div class="as_font_swiss721cnbold">trent<span class="as_brand_red">m</span>@active<span class="as_brand_red">state</span>.com</div>
<div class="as_font_swiss721cnbold">Trent<span class="as_brand_red">M</span>@Active<span class="as_brand_red">State</span>.com</div>
# ActiveState dev'y site banner comparisons
<div style="padding: 50px; background-color: #056c84">
<div><img src="img/as_code.png"> # image</div>
<div><span class="as_font_swiss721cnbold as_banner_text">ActiveState Code</span> # web font</div>
</div>
}}}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with markdown2.py and reproduce the embedded-HTML example from the issue, focusing on the headings containing inline code and raw HTML. Compare the conversion with the behavior described for the old markdown.py and Markdown.pl; done means the affected h1 headings are recognized correctly without breaking the embedded HTML.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, python
- Domain
- content
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100