search for: milianw

Displaying 20 results from an estimated 25 matches for "milianw".

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 soon. Best regards PS: I have a question regarding regular expressions, should I write that in an...
2007 Oct 08
1
First Markdownify Beta released
...his package only contains three classes: 1. `parsehtml.php`: a HTML parser I wrote 2. `markdownify.php`: the Markdownify Class for standard Markdown syntax 3. `markdownify_extra.php`: the analogous class for PHP Markdown Extra syntax How to use Markdown can be read on it's website: <http://milianw.de/projects/markdownify/> There's also a little demo page which highlights differences: <http://milianw.de/projects/markdownify/demo.php> If you want to get more into development or if you want to convince yourself of it's stability I urge you to checkout the sourcecode via SVN:...
2008 Feb 08
1
unwanted paragraph (syntax edge-case)
...gt; </ul> <p>asdf</p></li> </ul> But markdown puts the first asdf into a paragraph. There is nothing I can do about this, is there? Thus my Markdownify[^1] (HTML to Markdown) converter, cannot convert this HTML properly. [^1]: see <http://milianw.de/projects/markdownify> I recently released a second beta version. -- Milian Wolff http://milianw.de OpenPGP key: CD1D1393 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is 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
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
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
2007 Oct 29
1
[Bug] Codeblock in _second_ line
...~~~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! -- Milian Wolff http://milianw.de OpenPGP key: CD1D1393 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20071029...
2007 Sep 02
1
[Possible Bug]: Additional <p> wrapper around HTML input
...4-6. This behaviour can be found in both Markdown.pl and Markdown.php (I used the Dingus provided on the project pages). Interesting is, that Markdown Extra handles this correctly. PS: The above input is a snippet from `MDTest/markdown.mdtest/Inline HTML (Simple).text` -- Milian Wolff http://milianw.de
2007 Sep 02
1
[Bug] PHP Markdown (Extra) generates invalid HTML for code blocks
...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 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
2006 Jul 02
1
Newline before </code></pre>
...te-space:pre; set on pre/code blocks, you'll see an empty line after "This is Code". In my eyes that is wrong. It's pretty easy to prevent though, you'll just have to remove the newline before `</code></pre>` in _DoCodeBlocks(_callback). -- Milian Wolff http://milianw.de
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
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
2007 Aug 08
2
Backtick Hickup
...bled 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 http://milianw.de
2007 Jan 19
1
Is this possible to do?
I'm a bit confused if this is possible to do. I would like to write some instructional pages using markdown, here is a short example of my problem. The text looks like this: ============================================================ Risken ?r dock att du har lite mer komplicerade objekt, tex att det ?r uppbyggt av flera delobjekt: ![A complex object](images/CloneAdvancedObject.png) Om
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
2006 Aug 03
1
Markdown and the hCal microformat
Hi, I've got a suggestion for adding something to Markdown's syntax. I'm new to the list, so I don't know if this is likely to be received well - I'm aware that it's not all that common (yet) to want to do something like this, and I don't know where everyone here stands on if or how to make markup more meaningful. I'd like to generate some microformated
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&param2=value1) > > Should output: > <a href="http://www.site.com/?param1=value1&param2=value1">Link</a> > > Currently outputs: > <a