budget distribution cleanup and formatting of markdown

This commit is contained in:
Rushabh Mehta
2012-07-11 14:39:33 +05:30
parent e3dd54c220
commit 9acf463427
12 changed files with 77 additions and 60 deletions

View File

@@ -89,7 +89,7 @@ wn.meta.docfield_list[df.parent].push(df);}});
* lib/js/wn/misc/tools.js
*/
wn.markdown=function(txt){if(!wn.md2html){wn.require('js/lib/showdown.js');wn.md2html=new Showdown.converter();}
return wn.md2html.makeHtml(txt);}
return'<div class="markdown">'+wn.md2html.makeHtml(txt)+'</div>';}
/*
* lib/js/wn/misc/user.js
*/