Google Code Exporter
Google Code Exporter
``` > c.makeHtml('\\.**foo**'); Actual: '.*foo*' Expected: '.foo' > c.makeHtml('\\***foo**\\*'); Actual: '**foo**' Expected: '*foo*' > c.makeHtml('\\[*a*\\](b)'); Actual: '[*a*](b)' Expected: '[a](b)' Tested on c245b9e. ``` Original issue reported on code.google.com by `pkoszulinski`...
``` _HashHTMLBlocks has a hardcoded list of block elements. This is missing new block elements from HTML 5. The current set of defined block elements is: address,applet,blockquote,button,center,dd,del,dir,div,dl,dt,fieldset,form,frame set,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,p,pre,script,t able,tbody,td,tfoot,th,thead,tr,ul,article,aside,details,dialog,summary,figure,f ooter,header,hgroup,nav,section,audio,video,canvas,datalist...
``` In patterns (see http://patternslib.com ) we use pagedown to render markdown and insert it into an existing page. In order to get header levels correct we want to use...
``` When building a bundle using some requireje-based tools each file is loaded in a separate closure, with the result that Markdown.Convertor creates a Markdown in a different scope than...
``` What steps will reproduce the problem? 1. Go to demo http://pagedown.googlecode.com/hg/demo/browser/demo.html 2. Add this text to the unsanitized text box: "See my [About](about/) page for details." Example like: http://daringfireball.net/projects/markdown/syntax#link...
``` What steps will reproduce the problem? 1. create some markdown with a link to send an email like [mail]([email protected]) 2. call the converter on the string string = '[mail](mailto:[email protected])'...
``` What steps will reproduce the problem? 1. Try a URL like http://derp.com?__test=1 What is the expected output? What do you see instead? A link with the proper not a...
``` A-Z, a-z, 0-9 and _ are in \w ``` Original issue reported on code.google.com by `[email protected]` on 30 Oct 2012 at 4:14 Attachments: - [Markdown.Sanitizer.js.patch](https://storage.googleapis.com/google-code-attachments/pagedown/issue-45/comment-0/Markdown.Sanitizer.js.patch)
``` Fairly simple. Looking at the in-browser example for the Markdown.Sanitizer.js... document.write(converter.makeHtml("alert(42);bold"); // creates "alert(42);bold" you can find that there is only one closing bracket before the ; ``` Original...
``` We are trying to use Markdown.Sanitizer.js in Acre (a server-side javascript environement). However, we find ourselves hacking a window object to use Markdown.Sanitizer.js. But if Markdown.Sanitizer.js passes "this" as...