Displaying 20 results from an estimated 1000 matches similar to: "Newline before </code></pre>"
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
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 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
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
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
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
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!
--
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 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
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
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
2004 Mar 10
1
Rd - \preformatted, \section and LaTeX problem
Hi,
I have found an unwanted feature in the Rd to LaTeX convertion
regarding \preformatted inside a \section. I have created an Rd
example below, which generates an error in the following 'R CMD check'
step
* creating aroma.affine-manual.tex ... OK
* checking aroma.affine-manual.tex ... ERROR
LaTeX errors when creating DVI version.
This typically indicates Rd problems.
I believe
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
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
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
2009 Oct 01
2
Rd.sty question: LaTeX expert needed
The Rd.sty LaTeX package is used when building the R manuals, and by the
LaTeX pages produced from the man pages.
I have tracked down some problems G?bor Cs?rdi was having recently (see
"Re: [R] preformatted and '#' in manual pages" in R-help) to a LaTeX
problem, and am trying to work out how to fix it.
Specifically, the .Rd file he was using had a structure like
\dQuote{
2003 Nov 17
1
\preformatted and $
Hi,
I have been developing a package in R and have been working on
documentation. I have a \details function that contains the following:
\details{
some text
\preformatted{
[my-section]
user = apv
host = 127.0.0.1
}
}
When I run R CMD check I get an error while checking the manual. If I
remove:
\preformatted{
[my-section]
user = apv
host = 127.0.0.1
}
and replace it with
[my-section]
2003 Dec 09
3
latex problem with \preformatted (PR#5645)
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C3BE9C.3FB5BC1A
Content-Type: text/plain; charset="iso-8859-1"
There is a small bug in the implementation of \preformatted in R 1.8.0:
The closing "\end{verbatim}" needs to be followed by a newline, since my
latex
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