# HG changeset patch # User Brian Neal # Date 1299292253 0 # Node ID 2e90b63520b854ca5993d132609bca518d4d7266 # Parent e877b9c057406bd47adcb8ed9e9a1fba4a6fc7fd Trying to fix #180 again. Changed the syntax for strikethrough to 3 dashes to make it less harder to do accidently. diff -r e877b9c05740 -r 2e90b63520b8 static/js/markitup/sets/markdown/set.js --- a/static/js/markitup/sets/markdown/set.js Sat Mar 05 02:00:13 2011 +0000 +++ b/static/js/markitup/sets/markdown/set.js Sat Mar 05 02:30:53 2011 +0000 @@ -20,7 +20,7 @@ markupSet: [ {name:'Bold', key:'B', openWith:'**', closeWith:'**'}, {name:'Italic', key:'I', openWith:'_', closeWith:'_'}, - {name:'Strike', key:'S', openWith:'--', closeWith:'--'}, + {name:'Strike', key:'S', openWith:'---', closeWith:'---'}, {separator:'---------------' }, {name:'Bulleted List', openWith:'- ' }, {name:'Numeric List', openWith:function(markItUp) { diff -r e877b9c05740 -r 2e90b63520b8 tools/mdx_del.py --- a/tools/mdx_del.py Sat Mar 05 02:00:13 2011 +0000 +++ b/tools/mdx_del.py Sat Mar 05 02:30:53 2011 +0000 @@ -6,7 +6,7 @@ import markdown -DEL_RE = r'(--)(.*?)--' +DEL_RE = r'(---)(.*?)---' class DelExtension(markdown.Extension):