--- takahashi.xul 2006/06/10 08:35:37 6 +++ takahashi.xul 2006/06/10 08:44:15 7 @@ -737,7 +737,7 @@ var linksRegExp = this.makePhraseRegExp('^([^%O]+)?%O%O(([^|]+)?\\||)([^%C]+)%C%C', ''); - var wikiRegExp = this.makePhraseRegExp('^([^%O]+)?%O([0-9]*)([#!])?([:\/\*_])([^%C]+)[:\/\*_]%C', ''); + var wikiRegExp = this.makePhraseRegExp('^([^%O]+)?%O([0-9]*)([#!])?([:\/\*_-])([^%C]+)[:\/\*_-]%C', ''); var montaRegExp = this.makePhraseRegExp('^([^%O]+)?%O([^%C]+)%C', ''); @@ -894,6 +894,8 @@ style += '; font-style: italic;'; } else if (RegExp.$4 == '_') { style += '; text-decoration: underline;'; + } else if (RegExp.$4 == '-') { + style += '; text-decoration: line-through;'; } fragment.lastChild.lastChild.setAttribute('style', style); if (RegExp.$3 == '!') fragment.lastChild.lastChild.setAttribute('class', 'em-text');