Displaying 20 results from an estimated 1000 matches similar to: "unwanted paragraph (syntax edge-case)"
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
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 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!
--
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
2008 Mar 14
1
Markdown doesn't always generate XHTML
Hello everybody,
I've just noticed that markdown doesn't always generate XHTML. In
particular the input
<script src="http://evilserver.net/evil.js">
generates the output:
<p><script src="http://evilserver.net/evil.js"></p>
(This is the markdown dingus at daring fireball, and the markdownj
implementation exhibits the same problem. I
2008 Feb 25
3
Whitespace in img src
Hello,
markdown (Python implementation) seems to render:
![alternativer text](pfad/und/eine lange/url zum bild.jpg)
to
<img src="pfad/und/eine" title="lange/url zum bild.jpg"
alt="alternativer text"/>
breaking the URL at the whitespace. AFAIK whitespaces are ok in URLs
so why is it breaking up the URL here?
Thanks,
Florian
--
I'm using an
2008 Apr 01
3
HTML entities in URLs and urlencoding
We recently received the following bug report for the python-markdown
implementation:
> The "&" are escaped in URLs.
>
> An example:
> [Link](http://www.site.com/?param1=value1¶m2=value1)
>
> Should output:
> <a href="http://www.site.com/?param1=value1¶m2=value1">Link</a>
>
> Currently outputs:
> <a
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
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: `````</p>
# Should-Be Output:
<p>Backtick: <code>`</code></p>
If you (Michel) are already aware of this, just ignore me ;-)
--
Milian Wolff
2006 Oct 17
2
back-translation and round-tripping
i'll be doing some experiments myself,
but i thought i'd ask here first about
back-translation and round-tripping
with markdown and its xhtml output.
the object is to take markdown output,
reduce it back to a markdown text-file,
then regenerate the output again and
compare it with the "original" output,
repeating if necessary until there exists
a pair of files that give perfect
2007 Sep 02
1
[Bug] PHP Markdown (Extra) generates invalid HTML for code blocks
PHP Markdown v 1.0.1i and PHP Markdown Extra v 1.1.5 generate invalid HTML for
code blocks
Take this input:
paragraph
codeblock
Markdown will generate:
<p>paragraph</p>
<pre><code>codeblock
</pre></code>
Notice the wrong position of the closing code tag.
--
Milian Wolff
http://milianw.de
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
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
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
2011 Mar 18
1
Bug using inline code blocks in nested lists?
Hi,
I am generating a nice document with some inline code blocks and came
around the following error:
1. asdf
- \` asdf `` `asdf` ``
produces:
<ol>
<li>asdf
<ul><li>` asdf <code><code>asdf</code></code> </li></ul></li>
</ol>
instead of:
<ol>
<li>asdf
<ul><li>` asdf
2008 Sep 17
2
bug in maruku with single-element nested unordered list?
This does not produce the expected output, yet does work on the dingus [1]:
* asdf
* asdf
>> require ''maruku''
=> true
>> doc = Maruku.new("* asdf\n * asdf\n")
=> md_el(:document,[
md_el(:ul,[md_el(:li_span,["asdf *
asdf"],{:want_my_paragraph=>false},[])],{},[])
],{},[])
>> doc.to_html
=> "<ul>\n<li>asdf *
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
2011 Jan 05
2
check, that a script is in a folder
$ echo ${PWD##*/}
somefolder
$ if "${PWD##*/}" -eq "asdf" > /dev/null; then echo "this is the asdf folder"; else exit 1; fi
bash: notthatfolder: command not found...
this is the asdf folder
$
So i just want to check that i'm in an exact folder. e.g.: "asdf"
What's wrong with my one-liner?
I just want to check, that a script is in a folder,
2007 May 28
1
svg as a spescial case for image
SVG starts to become more useful in browsers like Firefox, OmniWeb,
Opera and soon Safari. There is a couple problem. Since no browser
support svg embedded with img one need to fall back to html from:
<object data="/path/to/img.svg" type="image/svg+xml"
width="512" height="384">Alt text</object>
Second, one need to write the width