similar to: [Bug] PHP Markdown (Extra) generates invalid HTML for code blocks

Displaying 20 results from an estimated 1100 matches similar to: "[Bug] PHP Markdown (Extra) generates invalid HTML for code blocks"

2007 Oct 29
1
[Bug] Codeblock in _second_ line
Take the following input and both `Markdown.pl` and PHP Markdown will fail: ~~~Input~~~~~~ Codeblock ~~~End~~~~~~~ ~~~Expected~~~~ <pre><code> Codeblock</pre></code> ~~~End~~~~~~~ ~~~Actual Result~~ <p>Codeblock</p> ~~~End~~~~~~~~ There is already a testcase in MDTest for codeblocks in the first line, though the above is still not handled properly! --
2007 Aug 08
2
Backtick Hickup
I'm using Michel Fortin's MDTest cases to rewrite my html2text.php script. Just now I stumbled upon this bug (in PHP Markdown at least): # Input: Backtick: ``\``` # Output: <p>Backtick: ``&#96;``</p> # Should-Be Output: <p>Backtick: <code>`</code></p> If you (Michel) are already aware of this, just ignore me ;-) -- Milian Wolff
2007 Sep 02
1
[Possible Bug]: Additional <p> wrapper around HTML input
I hope this is not by design and not an already discussed bug. Take the following input: <hr id="foo" /> <hr id="foo"> <hr id="foo"/> <hr id="foo" /> <hr id="foo"> <hr id="foo"/> If this is run through Markdown a paragraph will wrap hr's numer 4-6. This behaviour
2006 Jun 29
2
html2text in php
Hi there! I recently ported Aaron Swartz' html2text.py to PHP and would like to know what you think about it. Any suggestions and bug reports are much appreciated. Check it out: http://milianw.de/projects/html2text/ Note: Michel Fortins PHP Markdown Extended is supported (that is: tables and definitionlist are supported in some way) There are still some bugs but I hope to sort them out
2007 Oct 08
1
First Markdownify Beta released
Hi folks! I finally released the first Beta of Markdownify - the HTML to Markdown converter for PHP. It is the successor to the old `html2text.php` and is much more stable. It's pretty much a complete rewrite and supports all Markdown and PHP Markdown Extra syntax features. It's beta since I still have to add a word wrapping feature and "Markdown inside block elements" is
2008 Feb 08
1
unwanted paragraph (syntax edge-case)
Hi list! Take this markdown input: * asdf * asdf * asdf asdf What I want: <ul> <li>asdf <ul> <li>asdf</li> <li>asdf</li> </ul> <p>asdf</p></li> </ul> But markdown puts the first asdf into a paragraph. There is nothing I can do
2007 Jul 03
2
MDTest 1.0
I'm announcing today a new testsuite application for Markdown called MDTest. I've been using it as a replacement for John's Markdown Test for some time now I think it's ready for release. First, I want to say Markdown Test has been very useful in developing PHP Markdown. The testsuite covers many cases, however I still found the need to add other tests for PHP Markdown, to
2006 Jul 02
1
Newline before </code></pre>
Hello! What's the point in adding a newline before the closing tags of a preformatted code block? Example: This is Code Will become: <pre><code>This is Code </code></pre> (In both PHP and Perl Markdown) I don't really see the point, especially because this is not what I would want to see. With a normal stylesheet which has white-space:pre; set on
2010 Dec 15
3
my scala markdown implementation
Hi, I have written my own implementation of markdown in Scala. I only later realized there is already one ( <http://tristanhunt.com/projects/knockoff/> ), but I put quite some work into mine and I think it is never bad to have alternatives, so I wanted to release it anyway. I want to use the same BSD License as the original markdown, but before I put it out into the wild I wanted to ask
2010 May 03
5
New parser-based Markdown implementation for Java
Markdowners, just a short heads-up to a newly released Markdown implementation: "pegdown" (http://github.com/sirthias/pegdown) implements a Java Markdown-to-HTML processor based on a PEG parser with the grammar being based on John MacFarlanes C implementation "peg-markdown". pegdown uses "parboiled" (http://www.parboiled.org) for the actual parsing work and, as
2019 May 21
1
[mail-crypt-plugin] How to decrypt mailbox?
How do I enable the mail-crypt-plugin globally? Do I have to place 'mail_plugins = $mail_plugins mail_crypt' inside ever conf.d file where there is a protocol code block? Like for example the protocol lda codeblock in 15-lda.conf and the protocol imap codeblock in 20-imap.conf I placed 'mail_plugins = $mail_plugins mail_crypt' in 20-lmtp.conf inside the protocol lmtp code block,
2009 Feb 28
1
What is the most recent offical test suite ?
I just recently became aware of MarkdownTest_1.0.3 (which discount fails, due to the behavior of code blocks changing from "leave whitespace alone except on the first line" to "leave whitespace alone", and the addition of a new kind of magic link that doesn't seem to be documented); is this the most recent version of the test suite, or is there a newer one out there?
2007 Mar 06
2
acronym tag
Hello, is there an acronym method in php markdown extra ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://six.pairlist.net/pipermail/markdown-discuss/attachments/20070306/e146240b/attachment.html
2008 Mar 25
2
a JavaScript front-end for Babelmark
Hi, I've built a quick-and-dirty diff GUI for Babelmark (thanks, Michel!). You can get it as a bookmarklet here: http://attacklab.net/babelmark/ If either Michel or Tom is interested in hosting this, I'll be happy to do the grunt work for a real integration. It's kind of pain in the ass to hit the bookmarklet every time you get new data from the server. I've tested this
2007 Dec 11
2
[ANNOUNCE] cmarkdown-0.3
Hi! I wrote an markdown interpreter in C. It should support most of the features markdown.pl has (hopefully). Please report any bugs. It would be a good idea if you could test the interpreter with you're own documents and report any differences to markdown.pl Mercurial: hg clone http://s01.de/~gottox/hg/cmarkdown/ Tarball: http://s01.de/~gottox/files/cmarkdown-0.3.tar.gz regards Gottox
2007 Sep 22
4
anchor names from headers (Setext and atx)?
It would be useful if defining headers (either Setext and atx style), if Markdown would also generate corresponding anchors: ## This is an H2 ## would create: <a name="This is an H2"/> <h2>This is an H2</h2> Or something like that. Or is that available some different way? Thanks, Jeremy C. Reed
2007 May 02
4
Make --html4tags the default?
Seeing how no-one should send application/xhtml+xml to the browser [1], and development of the HTML standard is again happening [2], it would make sense to have Markdown.pl default to HTML tags. Maybe too late to change a default though. How does PHP Markdown and other implementations deal with this issue? [1]: http://www.hixie.ch/advocacy/xhtml [2]:
2009 Apr 23
2
No Markdown in <div>s or <table>s ?
>From http://daringfireball.net/projects/markdown/syntax#html: > Note that Markdown formatting syntax is not processed within block-level > HTML tags. E.g., you can?t use Markdown-style *emphasis* inside an > HTML block. [...] Unlike block-level HTML tags, Markdown syntax is > processed within span-level tags. How do people work around this when they want to apply Markdown to text
2007 Mar 22
4
converting html with \xa9 to Markdown and using iconv?
The html document various characters like ? \xa0 ? \xa9 (Copyright symbol) (and others). I tried using html2text.py but it didn't like these characters. Any ideas on how I can use iconv or another tool to convert documents like this so I can then convert to Markdown? I don't want to do manually as I have around 500+ documents. Jeremy C. Reed
2015 Jan 27
5
[LLVMdev] [cfe-dev][llvmdev] Clang 3.6 and trunk, high RSS usage compared to GCC (12.5GB vs. 0.5GB)
Hi, I found that after moving to Clang pre-3.6 (git 65d8b4c4998b3a0c20934ea72ede72ef4838a004) and trunk (git 718825a8666acd9ceaab70fc7868332f20e2758f) our internal build machines started going offline in Jenkins. Clang after 3.5 release is consuming extreme amounts of memory in some cases. I have uploaded [1] one of affected files. $ g++ -std=c++11 -c -O1 -fPIC vpp_generated.ii -o