Ticket #262 (new defect)

Opened 3 years ago

Last modified 3 years ago

Markdown glitches

Reported by: neil@onebahamas.com Assigned to: developer
Priority: high Milestone:
Component: Instiki Version: 0.10.0
Severity: major Keywords: markdown syntax
Cc:

Description

As reported in the markdown sandbox: Markdown within tags does not evaluate. Also, code blocks do not work as specified in the Markdown syntax. That is, a code block is preceeded by at least one tab, or four spaces.

Change History

11/30/05 22:19:41 changed by neil@onebahamas.com

Markdown within tags should not evaluate, but should within included wiki pages. ie, including the HomeNav? bar should parse the HomeNav? bar before it's inserted into the main page. That way formatting may be placed around the included file.

+ and - as list item delimiters should work.

Code blocks set by having 4 spaces or a tab in front of each line only work if they're preceeded by a paragraph ending in a colon. This should not be the case. Any block with 4 spaces or a tab should be a code block.

Horizontal rules do not work with underscore characters

Links set by ID, followed by the ID value, followed by an empty line, followed by a horizontal rule of === or --- makes the link a heading, despite having the empty line.

Double backticks surrounding a parathesis block with a single backtick in the middle fails to process. Error: Bad markdown format near "": No "" found before end

01/05/06 01:29:52 changed by Sigi

I noticed the same issues. Also I've found that special characters within code blocks ('<', '&' and the like) are not converted into HTML entities correctly.

For example, <Directory> ends up as &lt;Directory&gt; in the final (viewed page). Apparently the conversion into entities is done twice by accident, so that:

< --> &lt; --> &amp;lt;